summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hartzell <hartzell@alerce.com>2017-02-03 18:09:01 -0800
committerTodd Gamblin <tgamblin@llnl.gov>2017-02-03 18:09:01 -0800
commit5e2827433cc9702dbeb77c2cda229c36a6d479e0 (patch)
tree1a877b786ce7b395f5505b72d4e2e7ca24f0cf61
parent864670c0abc959e94685e45202742656733b5006 (diff)
downloadspack-5e2827433cc9702dbeb77c2cda229c36a6d479e0.tar.gz
spack-5e2827433cc9702dbeb77c2cda229c36a6d479e0.tar.bz2
spack-5e2827433cc9702dbeb77c2cda229c36a6d479e0.tar.xz
spack-5e2827433cc9702dbeb77c2cda229c36a6d479e0.zip
Update go to v1.7.5 (#3023)
Update the go package to v1.7.5. - This release no longer needs the time-test patch (it's been merged upstream). - This release still seems to need the cgo-testcshared patch. - Also add a comment about environment set up that I need to build it successfully on a very large server. Tested on CentOS 7.
-rw-r--r--var/spack/repos/builtin/packages/go/package.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/go/package.py b/var/spack/repos/builtin/packages/go/package.py
index ad1436c0c3..d0fb40096b 100644
--- a/var/spack/repos/builtin/packages/go/package.py
+++ b/var/spack/repos/builtin/packages/go/package.py
@@ -42,6 +42,11 @@ from spack import *
#
# - on CentOS 7 systems (and possibly others) you need to have the
# glibc package installed or various static cgo tests fail.
+#
+# - When building on a *large* machine (144 cores, 1.5TB RAM) I need
+# to run `ulimit -u 8192` to bump up the max number of user processes.
+# Failure to do so results in an explosion in one of the tests and an
+# epic stack trace....
class Go(Package):
@@ -51,6 +56,7 @@ class Go(Package):
extendable = True
+ version('1.7.5', '506de2d870409e9003e1440bcfeb3a65')
version('1.7.4', '49c1076428a5d3b5ad7ac65233fcca2f')
version('1.6.4', 'b023240be707b34059d2c114d3465c92')
@@ -67,7 +73,7 @@ class Go(Package):
patch('time_test.patch', when='@1.6.4:1.7.4')
# https://github.com/golang/go/issues/17986
- patch('misc-cgo-testcshared.patch', level=0, when='@1.6.4:1.7.4')
+ patch('misc-cgo-testcshared.patch', level=0, when='@1.6.4:1.7.5')
# NOTE: Older versions of Go attempt to download external files that have
# since been moved while running the test suite. This patch modifies the