aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/linux.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2017-11-07 20:26:34 +0200
committerEfraim Flashner <efraim@flashner.co.il>2017-11-07 20:41:08 +0200
commit9129804230a3a4272731609f6418b876ba450575 (patch)
tree499be2b9f45f94d22aafddd62ec559a28eae1e21 /gnu/packages/linux.scm
parentb516b780022010d32c5746adde19c3af20ee74a3 (diff)
downloadguix-9129804230a3a4272731609f6418b876ba450575.tar
guix-9129804230a3a4272731609f6418b876ba450575.tar.gz
gnu: psm: Only use as an input on supported-systems.
Syntax help supplied by bavier@member.fsf.org * gnu/packages/linux.scm (libfabric)[inputs]: Only use psm as an input on systems where psm is supported. * gnu/packages/mpi.scm (openmpi)[inputs]: Same.
Diffstat (limited to 'gnu/packages/linux.scm')
-rw-r--r--gnu/packages/linux.scm5
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 5398906de4..ce7c220e0b 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -4394,7 +4394,10 @@ comparing system environments.")
(base32 "19l2m1frna1l765z4j7wl8hp4rb9wrh0hy5496685hd183hmy5pv"))))
(build-system gnu-build-system)
(inputs `(("rdma-core" ,rdma-core)
- ("psm" ,psm)
+ ,@(match (%current-system)
+ ((member (package-supported-systems psm))
+ `(("psm" ,psm)))
+ (_ `()))
("libnl" ,libnl)))
(home-page "https://ofiwg.github.io/libfabric/")
(synopsis "Open Fabric Interfaces")