diff options
author | Ludovic Courtès <ludovic.courtes@inria.fr> | 2022-04-11 15:07:02 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-04-11 15:49:33 +0200 |
commit | ac2d36559fac296ba5b1c8c3a030dd1e8e0e3fd8 (patch) | |
tree | 197ba6bd8d000d4e6230f45c6c7bf23a2b16c621 /gnu/packages | |
parent | d81d8b1258af44636857795bab392135f5046e25 (diff) | |
download | 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/packages')
-rw-r--r-- | gnu/packages/mpi.scm | 6 |
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)) |