From 5e2827433cc9702dbeb77c2cda229c36a6d479e0 Mon Sep 17 00:00:00 2001 From: George Hartzell Date: Fri, 3 Feb 2017 18:09:01 -0800 Subject: 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. --- var/spack/repos/builtin/packages/go/package.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'var') 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 -- cgit v1.2.3-70-g09d2