guix-commits
[Top][All Lists]
Advanced

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

01/02: gnu: openmpi: Remove Valgrind from closure.


From: Ludovic Courtès
Subject: 01/02: gnu: openmpi: Remove Valgrind from closure.
Date: Tue, 12 Sep 2017 02:58:38 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit a247fe7b0deebf85d42a2d5eb21cac0ecd32a965
Author: Dave Love <address@hidden>
Date:   Mon Sep 4 18:04:21 2017 +0100

    gnu: openmpi: Remove Valgrind from closure.
    
    * gnu/packages/mpi.scm (openmpi)[arguments]: Elide romio config info to
    avoid reference to valgrind.
    
    Signed-off-by: Ludovic Courtès <address@hidden>
---
 gnu/packages/mpi.scm | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/mpi.scm b/gnu/packages/mpi.scm
index f7380fe..a6deee3 100644
--- a/gnu/packages/mpi.scm
+++ b/gnu/packages/mpi.scm
@@ -148,16 +148,21 @@ bind processes, and much more.")
                                            (assoc-ref %build-inputs "hwloc")))
        #:phases (modify-phases %standard-phases
                   (add-before 'build 'remove-absolute
-                    ;; Remove compiler absolute file names (OPAL_FC_ABSOLUTE
-                    ;; etc.) to reduce the closure size.  See
-                    ;; 
<https://lists.gnu.org/archive/html/guix-devel/2017-07/msg00388.html>
-                    ;; and
-                    ;; 
<https://www.mail-archive.com/address@hidden//msg31397.html>.
                     (lambda _
+                      ;; Remove compiler absolute file names (OPAL_FC_ABSOLUTE
+                      ;; etc.) to reduce the closure size.  See
+                      ;; 
<https://lists.gnu.org/archive/html/guix-devel/2017-07/msg00388.html>
+                      ;; and
+                      ;; 
<https://www.mail-archive.com/address@hidden//msg31397.html>.
                       (substitute* '("orte/tools/orte-info/param.c"
                                      "oshmem/tools/oshmem_info/param.c"
                                      "ompi/tools/ompi_info/param.c")
                         (("_ABSOLUTE") ""))
+                      ;; Avoid valgrind (which pulls in gdb etc.).
+                      (substitute*
+                          '("./ompi/mca/io/romio/src/io_romio_component.c")
+                        (("MCA_io_romio_COMPLETE_CONFIGURE_FLAGS")
+                         "\"[elided to reduce closure]\""))
                       #t))
                   (add-before 'build 'scrub-timestamps ;reproducibility
                     (lambda _



reply via email to

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