mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
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:
parent
35dfcdd753
commit
37d6b0978c
1 changed files with 7 additions and 2 deletions
|
@ -2,6 +2,7 @@
|
||||||
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
|
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
|
||||||
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
|
||||||
|
;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
|
||||||
;;;
|
;;;
|
||||||
;;; This file is part of GNU Guix.
|
;;; This file is part of GNU Guix.
|
||||||
;;;
|
;;;
|
||||||
|
@ -54,8 +55,12 @@ (define-public hwloc
|
||||||
`(("libx11" ,libx11)
|
`(("libx11" ,libx11)
|
||||||
("cairo" ,cairo)
|
("cairo" ,cairo)
|
||||||
("ncurses" ,ncurses)
|
("ncurses" ,ncurses)
|
||||||
("numactl" ,numactl)
|
("expat" ,expat)
|
||||||
("expat" ,expat)))
|
,@(if (not (string-prefix? "armhf"
|
||||||
|
(or (%current-target-system)
|
||||||
|
(%current-system))))
|
||||||
|
`(("numactl" ,numactl))
|
||||||
|
'())))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
;; hwloc.pc lists it in 'Requires.private'.
|
;; hwloc.pc lists it in 'Requires.private'.
|
||||||
`(("libpciaccess" ,libpciaccess)))
|
`(("libpciaccess" ,libpciaccess)))
|
||||||
|
|
Loading…
Reference in a new issue