From ac2d36559fac296ba5b1c8c3a030dd1e8e0e3fd8 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Mon, 11 Apr 2022 15:07:02 +0200 Subject: 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. --- gnu/packages/mpi.scm | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'gnu/packages') 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)) -- cgit 1.4.1