gnu: openmpi: Reintroduce PSM (Intel TrueScale) support.

Fixes a regression introduced in
9129804230 whereby PSM would never be
added as an input.

* gnu/packages/mpi.scm (openmpi)[inputs]: Re-add PSM on supported
systems.
This commit is contained in:
Ludovic Courtès 2018-05-25 12:11:41 +02:00
parent 6df2a50ac4
commit a560641a60
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -168,10 +168,10 @@ (define-public openmpi
`(("hwloc" ,hwloc "lib")
("gfortran" ,gfortran)
("libfabric" ,libfabric)
,@(match (%current-system)
((member (package-supported-systems psm))
`(("psm" ,psm)))
(_ `()))
,@(if (and (not (%current-target-system))
(member (%current-system) (package-supported-systems psm)))
`(("psm" ,psm))
'())
("rdma-core" ,rdma-core)
("valgrind" ,valgrind)))
(native-inputs