summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-08-24 00:28:36 +0200
committerLudovic Courtès <ludo@gnu.org>2015-08-24 00:28:36 +0200
commitc6e59259fd95d6fbfb567827aefbe5a53988a6dc (patch)
treeda7e7b4c5a50885c96f49faf13b4d59f13cf26fb
parent63b1bdbc43a4ab23a558c403bd377909b38d966f (diff)
gnu: hwloc: Propagate libpciaccess.
* gnu/packages/mpi.scm (hwloc)[inputs]: Move LIBPCIACCESS to... [propagated-inputs]: ... here. New field.
-rw-r--r--gnu/packages/mpi.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 9417e35050..8dba82d8fa 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015 Eric Bavier <bavier@member.fsf.org>
-;;; Copyright © 2014 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2014, 2015 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2014 Ian Denhardt <ian@zenhack.net>
;;;
;;; This file is part of GNU Guix.
@@ -57,8 +57,10 @@
("cairo" ,cairo)
("ncurses" ,ncurses)
("numactl" ,numactl)
- ("libpciaccess" ,libpciaccess)
("expat" ,expat)))
+ (propagated-inputs
+ ;; hwloc.pc lists it in 'Requires.private'.
+ `(("libpciaccess" ,libpciaccess)))
(native-inputs
`(("pkg-config" ,pkg-config)))
(arguments
@@ -72,7 +74,8 @@
(numa (assoc-ref inputs "numactl")))
(substitute* (map (lambda (f) (string-append out "/" f))
'("lib/pkgconfig/hwloc.pc" "lib/libhwloc.la"))
- (("-lnuma" lib) (string-append "-L" numa "/lib " lib)))))))))
+ (("-lnuma" lib)
+ (string-append "-L" numa "/lib " lib)))))))))
(home-page "http://www.open-mpi.org/projects/hwloc/")
(synopsis "Abstraction of hardware architectures")
(description