Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mbb
modulefiles
Commits
46e03b37
Commit
46e03b37
authored
Feb 21, 2020
by
remy
Browse files
update go modulefiles b/c '~' character does not work with go checker
parent
b8a20be9
Changes
1
Hide whitespace changes
Inline
Side-by-side
envfiles/golang-1.13.1
View file @
46e03b37
#%Module######################################################################
#
# golang 1.1
1
20190320
# golang 1.1
3
20190320
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use Go (golang) version 1.13.1"
puts stderr "The program Go 1.11"
puts stderr "Please adjust your GOPATH because Go checker does not"
puts stderr "like the tilde character '~'"
puts stderr "The program Go 1.13"
puts stderr "is added to PATH."
}
...
...
@@ -17,10 +19,13 @@ set GO_LEVEL 1.13
set GO_SUBLVL 1
set GO_CURPATH /share/apps/bin/golang/$GO_LEVEL.$GO_SUBLVL/go
set userhome $env(HOME)
prepend-path PATH $GO_CURPATH/bin/
prepend-path LD_LIBRARY_PATH $GO_CURPATH/lib/
prepend-path MANPATH $GO_CURPATH/share/man
setenv GOPATH
~
/go
setenv GOPATH
$userhome
/go
setenv GOROOT $GO_CURPATH
setenv GO111MODULE off
append-path PE_PRODUCT_LIST Golang.$GO_LEVEL.$GO_SUBLVL
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment