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
243870fb
Commit
243870fb
authored
Apr 12, 2021
by
remy
Browse files
adding golang versions
parent
84fe4348
Changes
2
Hide whitespace changes
Inline
Side-by-side
envfiles/golang/1.14
0 → 100644
View file @
243870fb
#%Module######################################################################
#
# golang 1.14 20210412
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use Go (golang) version 1.14"
puts stderr "Please adjust your GOPATH because Go checker does not"
puts stderr "like the tilde character '~'"
puts stderr "The program Go 1.14"
puts stderr "is added to PATH."
}
set is_module_rm [module-info mode remove]
unsetenv LD_LIBRARY_PATH
set GO_LEVEL 1.14
#set GO_SUBLVL 1
set GO_CURPATH /share/apps/bin/golang/$GO_LEVEL/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 $userhome/go
setenv GOROOT $GO_CURPATH
setenv GO111MODULE off
append-path PE_PRODUCT_LIST Golang.$GO_LEVEL
envfiles/golang/1.16.3
0 → 100644
View file @
243870fb
#%Module######################################################################
#
# golang 1.16.3 20210412
#
proc ModulesHelp { } {
puts stderr "This modulefile defines the library paths and"
puts stderr "include paths needed to use Go (golang) version 1.16.3"
puts stderr "Please adjust your GOPATH because Go checker does not"
puts stderr "like the tilde character '~'"
puts stderr "The program Go 1.16.3"
puts stderr "is added to PATH."
}
set is_module_rm [module-info mode remove]
unsetenv LD_LIBRARY_PATH
set GO_LEVEL 1.16
set GO_SUBLVL 3
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 $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