efraim pushed a commit to branch wip-ppc
in repository guix.
commit 5b13f4e86ca776be19f608f30e681817875eeb9b
Author: Efraim Flashner <[email protected]>
AuthorDate: Tue Mar 9 19:32:02 2021 +0200
gnu: binutils: Adjust test suite on powerpc-linux.
* gnu/packages/base.scm (binutils)[arguments]: Add phase on
powerpc-linux to adjust the test suite.
---
gnu/packages/base.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/base.scm b/gnu/packages/base.scm
index 91e709c..2de12b3 100644
--- a/gnu/packages/base.scm
+++ b/gnu/packages/base.scm
@@ -531,7 +531,16 @@ change. GNU make offers many powerful extensions over the
standard utility.")
;; Make sure 'ar' and 'ranlib' produce archives in a
;; deterministic fashion.
- "--enable-deterministic-archives")))
+ "--enable-deterministic-archives")
+ #: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)))
+ '()))))
(synopsis "Binary utilities: bfd gas gprof ld")
(description