summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-05-25 13:41:59 +0200
committerLudovic Courtès <ludo@gnu.org>2018-05-25 13:43:03 +0200
commitfbe1b85b63a77d3a239b511b82021a48496360b9 (patch)
tree607c73664d803b448c55ae1c790cb310a8f456a5
parenta560641a604c4766acfa2ff015a10c9465a721eb (diff)
downloadguix-fbe1b85b63a77d3a239b511b82021a48496360b9.tar.gz
gnu: openmpi: Add PSM2 (Intel OmniPath) support.
* gnu/packages/mpi.scm (openmpi)[inputs]: Add PSM2 on supported systems.
-rw-r--r--gnu/packages/mpi.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index e8d28d6060..f34b08e4ca 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -172,6 +172,10 @@ bind processes, and much more.")
                   (member (%current-system) (package-supported-systems psm)))
              `(("psm" ,psm))
              '())
+       ,@(if (and (not (%current-target-system))
+                  (member (%current-system) (package-supported-systems psm2)))
+             `(("psm2" ,psm2))
+             '())
        ("rdma-core" ,rdma-core)
        ("valgrind" ,valgrind)))
     (native-inputs