gnu: hwloc: Build without numactl support on armhf.

* gnu/packages/mpi.scm (hwloc)[inputs]: Drop numactl on armhf, where the
  package is not available.
This commit is contained in:
Andreas Enge 2016-02-03 21:05:51 +01:00
parent 35dfcdd753
commit 37d6b0978c
1 changed files with 7 additions and 2 deletions

View File

@ -2,6 +2,7 @@
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@ -54,8 +55,12 @@
`(("libx11" ,libx11)
("cairo" ,cairo)
("ncurses" ,ncurses)
("numactl" ,numactl)
("expat" ,expat)))
("expat" ,expat)
,@(if (not (string-prefix? "armhf"
(or (%current-target-system)
(%current-system))))
`(("numactl" ,numactl))
'())))
(propagated-inputs
;; hwloc.pc lists it in 'Requires.private'.
`(("libpciaccess" ,libpciaccess)))