aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludovic.courtes@inria.fr>2022-04-11 15:07:02 +0200
committerLudovic Courtès <ludo@gnu.org>2022-04-11 15:49:33 +0200
commitac2d36559fac296ba5b1c8c3a030dd1e8e0e3fd8 (patch)
tree197ba6bd8d000d4e6230f45c6c7bf23a2b16c621 /gnu
parentd81d8b1258af44636857795bab392135f5046e25 (diff)
downloadguix-ac2d36559fac296ba5b1c8c3a030dd1e8e0e3fd8.tar
guix-ac2d36559fac296ba5b1c8c3a030dd1e8e0e3fd8.tar.gz
gnu: hwloc@1: Use 'target-arm32?' in conditional.
Suggested by Maxime Devos. * gnu/packages/mpi.scm (hwloc-1)[inputs]: Use 'target-arm32?' rather than custom code.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/mpi.scm6
1 files changed, 1 insertions, 5 deletions
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 5ffe0e6da2..32c26e13c0 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -80,11 +80,7 @@
"debug"))
(inputs
(append (list libx11 cairo ncurses expat)
- (if (not (string-prefix? "armhf"
- (or (%current-target-system)
- (%current-system))))
- (list numactl)
- '())))
+ (if (target-arm32?) '() (list numactl))))
(propagated-inputs
;; hwloc.pc lists it in 'Requires.private'.
(list libpciaccess))