[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
24/41: gnu: libaio: Fix test suite on riscv64-linux.
From: |
guix-commits |
Subject: |
24/41: gnu: libaio: Fix test suite on riscv64-linux. |
Date: |
Thu, 9 Sep 2021 08:39:35 -0400 (EDT) |
efraim pushed a commit to branch wip-riscv
in repository guix.
commit 6e96d158d83a1ec03fb43dcd75a4a2e362948494
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Fri Aug 20 11:11:44 2021 +0300
gnu: libaio: Fix test suite on riscv64-linux.
* gnu/packages/linux.scm (libaio)[arguments]: Add phase to adjust test
code to properly handle riscv.
---
gnu/packages/linux.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index cb3b56f..4905c56 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5074,7 +5074,17 @@ Linux Device Mapper multipathing driver:
"gcc"))))
#:test-target "partcheck" ; need root for a full 'check'
#:phases
- (modify-phases %standard-phases (delete 'configure)))) ; no configure
script
+ (modify-phases %standard-phases
+ (delete 'configure) ; no configure script
+ (add-before 'check 'patch-for-riscv-support
+ (lambda _
+ ;; Taken from the upstream repo:
+ ;;
https://pagure.io/libaio/c/f322f467c3cd2ac4d8d08a19bd281eabb65433b1?branch=master
+ (substitute* "harness/cases/16.t"
+ (("(elif defined\\(__aarch64__\\))" all)
+ (string-append all " || defined(__riscv)"))
+ (("(endif /* __aarch64__)" all)
+ (string-append all " || __riscv "))))))))
(home-page "https://pagure.io/libaio")
(synopsis "Linux-native asynchronous I/O access library")
(description
- 06/41: gnu: %final-inputs: Add implied gcc:lib input., (continued)
- 06/41: gnu: %final-inputs: Add implied gcc:lib input., guix-commits, 2021/09/09
- 21/41: gnu: texlive-latex-base: Skip JIT formats on riscv64-linux., guix-commits, 2021/09/09
- 13/41: gnu: mesa: Add support for riscv64-linux., guix-commits, 2021/09/09
- 17/41: gnu: openlibm: Remove riscv64-linux from supported systems., guix-commits, 2021/09/09
- 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 <=
- 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, 2021/09/09
- 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