mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +01:00
gnu: go-1.17: Fix test suite on powerpc64le-linux.
* gnu/packages/golang.scm (go-1.17)[arguments]: Use custom 'patch-gcc:lib phase on powerpc64le-linux. Add a phase to adjust the allowed size of an executable in the test suite. [inputs]: Keep gcc:lib as an input on powerpc64le-linux. (go-1.18)[arguments]: Delete custom 'adjust-test-suite phase.
This commit is contained in:
parent
8a17609dd0
commit
34e5ba942e
1 changed files with 1 additions and 1 deletions
|
@ -700,7 +700,6 @@ (define-public go-1.17
|
|||
(substitute* "src/time/zoneinfo_unix.go"
|
||||
(("/usr/share/zoneinfo/") tzdata-path)))))
|
||||
;; Keep this synchronized with the package inputs.
|
||||
;; Also keep syncthonized with later versions of go.
|
||||
,@(if (or (target-arm?) (target-ppc64le?))
|
||||
'((add-after 'unpack 'patch-gcc:lib
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
|
@ -864,6 +863,7 @@ (define-public go-1.18
|
|||
(substitute-keyword-arguments (package-arguments go-1.17)
|
||||
((#:phases phases)
|
||||
`(modify-phases ,phases
|
||||
(delete 'adjust-test-suite)
|
||||
;; See the platforms using this phase in go-1.17.
|
||||
(replace 'patch-gcc:lib
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
|
|
Loading…
Reference in a new issue