efraim pushed a commit to branch wip-ppc
in repository guix.
commit b7dc130a1820c1bed252568e5e1fbe0bc05510e8
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Mar 9 12:00:41 2021 +0200
gnu: binutils-boot0: Adjust test suite on powerpc-linux.
* gnu/packages/commencement.scm (binutils-boot0)[arguments]: Add phase
on powerpc-linux to adjust the test suite.
---
gnu/packages/commencement.scm | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm
index 97a2fce..219e0f2 100644
--- a/gnu/packages/commencement.scm
+++ b/gnu/packages/commencement.scm
@@ -2651,6 +2651,13 @@ exec " gcc "/bin/" program
(guix build utils)
(ice-9 ftw)) ; for 'scandir'
#:phases (modify-phases %standard-phases
+ ,@(if (string=? (%current-system) "powerpc-linux")
+ '((add-after 'unpack 'disable-rust-libiberty-test
+ (lambda _
+ (substitute* "libiberty/testsuite/Makefile.in"
+ ((" check-rust-demangle ") ""))
+ #t)))
+ '())
(add-after 'install 'add-symlinks
(lambda* (#:key outputs #:allow-other-keys)
;; The cross-gcc invokes 'as', 'ld', etc, without the