[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20/37: gnu: libaio: Fix test suite on riscv64-linux.
From: |
guix-commits |
Subject: |
20/37: gnu: libaio: Fix test suite on riscv64-linux. |
Date: |
Tue, 2 Nov 2021 03:27:13 -0400 (EDT) |
efraim pushed a commit to branch wip-riscv
in repository guix.
commit 9129e7fe0a252bea696fa22cd3f1afa421e3644b
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 e671320..e037a50 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5220,7 +5220,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
- 09/37: gnu: mesa: Add support for riscv64-linux., (continued)
- 09/37: gnu: mesa: Add support for riscv64-linux., guix-commits, 2021/11/02
- 10/37: gnu: pcre2: Fix building on riscv64-linux., guix-commits, 2021/11/02
- 05/37: gnu: elfutils: Fix building on riscv64-linux., guix-commits, 2021/11/02
- 11/37: gnu: icu4c: Skip tests on riscv64-linux., guix-commits, 2021/11/02
- 06/37: gnu: pcre: Fix building on riscv64-linux., guix-commits, 2021/11/02
- 07/37: gnu: libtool: Fix test suite on riscv64-linux., guix-commits, 2021/11/02
- 08/37: gnu: openblas: Fix building on riscv64-linux., guix-commits, 2021/11/02
- 16/37: gnu: lapack: Fix building on riscv64-linux., guix-commits, 2021/11/02
- 13/37: gnu: openlibm: Remove riscv64-linux from supported systems., guix-commits, 2021/11/02
- 14/37: gnu: texlive-bin: Fix building on riscv64-linux., guix-commits, 2021/11/02
- 20/37: gnu: libaio: Fix test suite on riscv64-linux.,
guix-commits <=
- 21/37: gnu: libfaketime: Adjust flags on riscv64-linux., guix-commits, 2021/11/02
- 23/37: gnu: mozjs-60: Add support for riscv64-linux., guix-commits, 2021/11/02
- 22/37: gnu: qemu: Skip some tests on riscv64-linux., guix-commits, 2021/11/02
- 24/37: gnu: webrtc-audio-processing: Fix riscv64 detection., guix-commits, 2021/11/02
- 29/37: gnu: dtc: Build without valgrind on riscv64-linux., guix-commits, 2021/11/02
- 28/37: gnu: u-boot-sifive-unmatched: Build with opensbi., guix-commits, 2021/11/02
- 26/37: system: system-linux-image-file-name: Set kernel name for riscv64-linux., guix-commits, 2021/11/02
- 31/37: gnu: make-opensbi-package: Fix native building., guix-commits, 2021/11/02
- 34/37: build-system/meson: Fix cross-building to riscv64-linux., guix-commits, 2021/11/02
- 15/37: gnu: lz4: Build on riscv64-linux without valgrind., guix-commits, 2021/11/02