guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

15/18: gnu: binutils: Adjust test suite on powerpc-linux.


From: guix-commits
Subject: 15/18: gnu: binutils: Adjust test suite on powerpc-linux.
Date: Fri, 12 Mar 2021 03:22:42 -0500 (EST)

efraim pushed a commit to branch wip-ppc
in repository guix.

commit 5b13f4e86ca776be19f608f30e681817875eeb9b
Author: Efraim Flashner <efraim@flashner.co.il>
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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]