guix-commits
[Top][All Lists]
Advanced

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

07/37: gnu: libtool: Fix test suite on riscv64-linux.


From: guix-commits
Subject: 07/37: gnu: libtool: Fix test suite on riscv64-linux.
Date: Tue, 2 Nov 2021 03:27:09 -0400 (EDT)

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

commit b89f50dd4e1d61137a7e52cbbd944394f0648896
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Aug 18 12:55:32 2021 +0300

    gnu: libtool: Fix test suite on riscv64-linux.
    
    * gnu/packages/autotools.scm (libtool)[arguments]: When building for
    riscv64-linux add phase to skip the nopic tests.
---
 gnu/packages/autotools.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/gnu/packages/autotools.scm b/gnu/packages/autotools.scm
index 57efc4c..09eeec2 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -488,6 +488,14 @@ Makefile, simplifying the entire process for the 
developer.")
 
        #:phases
        (modify-phases %standard-phases
+         ,@(if (target-riscv64?)
+             ;; TODO: merge this into the libtool-skip-tests2.patch
+             `((add-after 'unpack 'skip-nopic-tests-on-riscv64
+                 (lambda _
+                   (substitute* '("tests/testsuite"
+                                  "tests/demo.at")
+                     (("mips") "mips*|riscv")))))
+             '())
          (add-before 'check 'pre-check
            (lambda* (#:key inputs native-inputs #:allow-other-keys)
              ;; Run the test suite in parallel, if possible.



reply via email to

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