[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch wip-riscv updated: gnu: libaio: Fix test suite on riscv64-linux.
From: |
guix-commits |
Subject: |
branch wip-riscv updated: gnu: libaio: Fix test suite on riscv64-linux. |
Date: |
Fri, 20 Aug 2021 04:13:49 -0400 |
This is an automated email from the git hooks/post-receive script.
efraim pushed a commit to branch wip-riscv
in repository guix.
The following commit(s) were added to refs/heads/wip-riscv by this push:
new 714c956 gnu: libaio: Fix test suite on riscv64-linux.
714c956 is described below
commit 714c9566e39e52788e50c98a22f95e448932b29b
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 17a0015..e8d7d95 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -5039,7 +5039,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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch wip-riscv updated: gnu: libaio: Fix test suite on riscv64-linux.,
guix-commits <=