mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: binutils-gold: Skip gold testsuite on some architectures.
* gnu/packages/base.scm (binutils-gold)[arguments]: Add a phase on some architecturest to skip the gold testsuite.
This commit is contained in:
parent
49546b6b8c
commit
9834ff5d32
1 changed files with 9 additions and 1 deletions
|
@ -606,7 +606,15 @@ (define-public binutils-gold
|
||||||
(add-after 'patch-source-shebangs 'patch-more-shebangs
|
(add-after 'patch-source-shebangs 'patch-more-shebangs
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "gold/Makefile.in"
|
(substitute* "gold/Makefile.in"
|
||||||
(("/bin/sh") (which "sh")))))))))
|
(("/bin/sh") (which "sh")))))
|
||||||
|
;; Multiple failing tests on some architectures in the gold testsuite.
|
||||||
|
,@(if (or (target-arm?)
|
||||||
|
(target-ppc32?))
|
||||||
|
'((add-after 'unpack 'skip-gold-testsuite
|
||||||
|
(lambda _
|
||||||
|
(substitute* "gold/Makefile.in"
|
||||||
|
((" testsuite") " ")))))
|
||||||
|
'())))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("bc" ,bc)))))
|
`(("bc" ,bc)))))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue