[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/41: gnu: guile: Fix building on riscv64-linux.
From: |
guix-commits |
Subject: |
05/41: gnu: guile: Fix building on riscv64-linux. |
Date: |
Thu, 9 Sep 2021 08:39:29 -0400 (EDT) |
efraim pushed a commit to branch wip-riscv
in repository guix.
commit 04b6ae3640c270659d745cc077b5f1eb589aa640
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 9fa2237..113ad40 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -356,14 +356,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-riscv?))
+ `((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
- 19/41: gnu: lz4: Build on riscv64-linux without valgrind., (continued)
- 19/41: gnu: lz4: Build on riscv64-linux without valgrind., guix-commits, 2021/09/09
- 20/41: gnu: lapack: Fix building on riscv64-linux., guix-commits, 2021/09/09
- 28/41: gnu: webrtc-audio-processing: Fix riscv64 detection., guix-commits, 2021/09/09
- 30/41: system: system-linux-image-file-name: Set kernel name for riscv64-linux., guix-commits, 2021/09/09
- 14/41: gnu: pcre2: Fix building on riscv64-linux., guix-commits, 2021/09/09
- 25/41: gnu: libfaketime: Adjust flags on riscv64-linux., guix-commits, 2021/09/09
- 24/41: gnu: libaio: Fix test suite on riscv64-linux., guix-commits, 2021/09/09
- 15/41: gnu: icu4c: Skip tests on riscv64-linux., guix-commits, 2021/09/09
- 36/41: gnu: postgresql: Fix building on riscv64-linux., guix-commits, 2021/09/09
- 35/41: gnu: make-opensbi-package: Fix native building., guix-commits, 2021/09/09
- 05/41: gnu: guile: Fix building on riscv64-linux.,
guix-commits <=
- 07/41: gnu: bdb: Fix building on riscv64-linux., guix-commits, 2021/09/09
- 12/41: gnu: openblas: Fix building on riscv64-linux., guix-commits, 2021/09/09
- 16/41: gnu: openblas-ilp64: Add riscv64-linux as a supported architecture., guix-commits, 2021/09/09
- 18/41: gnu: texlive-bin: Fix building on riscv64-linux., guix-commits, 2021/09/09
- 23/41: gnu: Use libunwind-next for riscv64-linux., guix-commits, 2021/09/09
- 27/41: gnu: mozjs-60: Add support for riscv64-linux., guix-commits, 2021/09/09
- 37/41: gnu: isc-dhcp: Fix building on riscv64-linux., guix-commits, 2021/09/09
- 38/41: build-system/meson: Fix cross-building to riscv64-linux., guix-commits, 2021/09/09
- 40/41: gnu: Add u-boot-sifive-unmatched-bootloader., guix-commits, 2021/09/09
- 41/41: system: Add riscv64 support., guix-commits, 2021/09/09