guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/05: gnu: openmpi: Reintroduce PSM (Intel TrueScale) support.


From: Ludovic Courtès
Subject: 04/05: gnu: openmpi: Reintroduce PSM (Intel TrueScale) support.
Date: Fri, 25 May 2018 07:43:19 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit a560641a604c4766acfa2ff015a10c9465a721eb
Author: Ludovic Courtès <address@hidden>
Date:   Fri May 25 12:11:41 2018 +0200

    gnu: openmpi: Reintroduce PSM (Intel TrueScale) support.
    
    Fixes a regression introduced in
    9129804230a3a4272731609f6418b876ba450575 whereby PSM would never be
    added as an input.
    
    * gnu/packages/mpi.scm (openmpi)[inputs]: Re-add PSM on supported
    systems.
---
 gnu/packages/mpi.scm | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index 5496ea9..e8d28d6 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -168,10 +168,10 @@ bind processes, and much more.")
      `(("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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]