Commit 243870fb authored by remy's avatar remy
Browse files

adding golang versions

parent 84fe4348
#%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
#%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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment