[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: libtool: Fix test suite on riscv64-linux.
From: |
guix-commits |
Subject: |
01/02: gnu: libtool: Fix test suite on riscv64-linux. |
Date: |
Wed, 18 Aug 2021 05:58:56 -0400 (EDT) |
efraim pushed a commit to branch wip-riscv
in repository guix.
commit 28a7a02a1159d9ffde35639a805b0758d3ae8db2
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 cdd7425..87604e6e8 100644
--- a/gnu/packages/autotools.scm
+++ b/gnu/packages/autotools.scm
@@ -463,6 +463,14 @@ Makefile, simplifying the entire process for the
developer.")
#:phases
(modify-phases %standard-phases
+ ,@(if (target-riscv?)
+ ;; 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.