[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/42: gnu: guile: Fix building on riscv64-linux.
From: |
guix-commits |
Subject: |
05/42: gnu: guile: Fix building on riscv64-linux. |
Date: |
Fri, 8 Oct 2021 04:19:55 -0400 (EDT) |
efraim pushed a commit to branch wip-riscv
in repository guix.
commit 7004546248a04941c27c5c44c59a28d4ed791a32
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Jul 28 12:44:02 2021 +0000
gnu: guile: Fix building on riscv64-linux.
* gnu/packages/guile.scm (guile-3.0)[arguments]: On riscv64-linux add
a phase to skip a failing test.
---
gnu/packages/guile.scm | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index c1a551f..df75389 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -362,14 +362,17 @@ without requiring the source code to be rewritten.")
;; https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45214
(substitute* "bootstrap/Makefile.in"
(("^GUILE_OPTIMIZATIONS.*")
- "GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives
-Ocps\n"))))
- (add-after 'unpack 'skip-failing-fdes-test
- (lambda _
- ;; ERROR: ((system-error "seek" "~A" ("Bad file
descriptor") (9)))
- (substitute* "test-suite/tests/ports.test"
- (("fdes not closed\"" all) (string-append all "(exit
77)")))
- #t)))
- '())))))
+ "GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives
-Ocps\n")))))
+ '())
+ ,@(if (or (target-ppc32?)
+ (target-riscv64?))
+ `((add-after 'unpack 'skip-failing-fdes-test
+ (lambda _
+ ;; ERROR: ((system-error "seek" "~A" ("Bad file
descriptor") (9)))
+ (substitute* "test-suite/tests/ports.test"
+ (("fdes not closed\"" all) (string-append all "(exit
77)")))
+ #t)))
+ '())))))
(native-search-paths
(list (search-path-specification
- branch wip-riscv created (now 9715fad), guix-commits, 2021/10/08
- 02/42: gnu: bootstrap: Add support for riscv64-linux., guix-commits, 2021/10/08
- 05/42: gnu: guile: Fix building on riscv64-linux.,
guix-commits <=
- 03/42: gnu: gcc-boot0: Use libstdc++-boot0-gcc7 on riscv64-linux., guix-commits, 2021/10/08
- 01/42: utils: Define 'target-riscv64?' predicate., guix-commits, 2021/10/08
- 06/42: gnu: %final-inputs: Add implied gcc:lib input., guix-commits, 2021/10/08
- 04/42: gnu: %boot3-inputs: Add missing input., guix-commits, 2021/10/08
- 08/42: gnu: elfutils: Fix building on riscv64-linux., guix-commits, 2021/10/08
- 07/42: gnu: bdb: Fix building on riscv64-linux., guix-commits, 2021/10/08
- 09/42: gnu: pcre: Fix building on riscv64-linux., guix-commits, 2021/10/08
- 10/42: gnu: openssl: Fix build on riscv64-linux., guix-commits, 2021/10/08
- 11/42: gnu: libtool: Fix test suite on riscv64-linux., guix-commits, 2021/10/08
- 12/42: gnu: openblas: Fix building on riscv64-linux., guix-commits, 2021/10/08