me
/
guix
Archived
1
0
Fork 0

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.
master
Ludovic Courtès 2022-04-11 15:07:02 +02:00 committed by Ludovic Courtès
parent d81d8b1258
commit ac2d36559f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 5 deletions

View File

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