[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/09: gnu: numactl: Fix building on riscv64-linux.
From: |
guix-commits |
Subject: |
08/09: gnu: numactl: Fix building on riscv64-linux. |
Date: |
Tue, 12 Jul 2022 10:41:49 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 706af6dfd7e1a744768d5ec613f8765c0c6d0b6f
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Jul 12 16:56:28 2022 +0300
gnu: numactl: Fix building on riscv64-linux.
* gnu/packages/linux.scm (numactl)[arguments]: When building for
riscv64-linux always link with libatomic.
---
gnu/packages/linux.scm | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index efd0d09ad1..f9ec702c23 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -3537,7 +3537,10 @@ compressed, transparent to other programs, without
decompressing them.")
"1xngddsph43bxljywahi9d44fxr022slsap4hh91w8xnq54d2sw2"))))
(build-system gnu-build-system)
(arguments
- '(;; There's a 'test' target, but it requires NUMA support in the kernel
+ `(,@(if (target-riscv64?)
+ `(#:make-flags (list "LDFLAGS=-latomic"))
+ '())
+ ;; There's a 'test' target, but it requires NUMA support in the kernel
;; to run, which we can't assume to have.
#:tests? #f))
- branch master updated (9173cb522d -> 094505d56c), guix-commits, 2022/07/12
- 09/09: gnu: numactl: Enable armhf-linux as a supported system., guix-commits, 2022/07/12
- 08/09: gnu: numactl: Fix building on riscv64-linux.,
guix-commits <=
- 06/09: gnu: bcachefs-tools: Enable tests., guix-commits, 2022/07/12
- 05/09: gnu: bcachefs-tools: Only build with valgrind on supported systems., guix-commits, 2022/07/12
- 03/09: gnu: python-tornado-6: Adjust test timeout., guix-commits, 2022/07/12
- 02/09: gnu: python-tornado-6: Honor tests flag., guix-commits, 2022/07/12
- 07/09: gnu: libratbag: Only build with valgrind on supported systems., guix-commits, 2022/07/12
- 04/09: gnu: sbcl: Fix building on armhf-linux., guix-commits, 2022/07/12
- 01/09: gnu: python-attrs: Remove test deadlines on riscv64-linux., guix-commits, 2022/07/12