[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/21: gnu: guile: Fix building on riscv64-linux.
From: |
guix-commits |
Subject: |
05/21: gnu: guile: Fix building on riscv64-linux. |
Date: |
Tue, 17 Aug 2021 03:42:59 -0400 (EDT) |
efraim pushed a commit to branch wip-riscv
in repository guix.
commit 9440a6ca3c1318e99dc1eb16f7e382ee888464fc
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 | 22 +++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index fffc30f..f9a7125 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -65,7 +65,8 @@
#:use-module (guix deprecation)
#:use-module (guix utils)
#:use-module (ice-9 match)
- #:use-module ((srfi srfi-1) #:prefix srfi-1:))
+ #:use-module ((srfi srfi-1) #:prefix srfi-1:)
+ #:use-module (srfi srfi-26))
;;; Commentary:
;;;
@@ -346,14 +347,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 (srfi-1:any (cute string-prefix? <> (%current-system))
+ '("powerpc-" "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 e50ed7a), guix-commits, 2021/08/17
- 04/21: gnu: %boot3-inputs: Add missing input., guix-commits, 2021/08/17
- 05/21: gnu: guile: Fix building on riscv64-linux.,
guix-commits <=
- 03/21: gnu: gcc-boot0: Use libstdc++-boot0-gcc7 on riscv64-linux., guix-commits, 2021/08/17
- 01/21: utils: Define 'target-riscv?' predicate., guix-commits, 2021/08/17
- 02/21: gnu: bootstrap: Add support for riscv64-linux., guix-commits, 2021/08/17
- 06/21: gnu: %final-inputs: Add implied gcc:lib input., guix-commits, 2021/08/17
- 10/21: gnu: openssl: Fix build on riscv64-linux., guix-commits, 2021/08/17
- 07/21: gnu: bdb: Fix building on riscv64-linux., guix-commits, 2021/08/17
- 08/21: gnu: elfutils: Fix building on riscv64-linux., guix-commits, 2021/08/17
- 09/21: gnu: pcre: Fix building on riscv64-linux., guix-commits, 2021/08/17
- 11/21: gnu: libtool: Fix building on riscv64-linux., guix-commits, 2021/08/17
- 12/21: gnu: openblas: Fix building on riscv64-linux., guix-commits, 2021/08/17