guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/08: gnu: hwloc@1: Use 'target-arm32?' in conditional.


From: guix-commits
Subject: 04/08: gnu: hwloc@1: Use 'target-arm32?' in conditional.
Date: Mon, 11 Apr 2022 09:51:02 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit ac2d36559fac296ba5b1c8c3a030dd1e8e0e3fd8
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Mon Apr 11 15:07:02 2022 +0200

    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(-)

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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]