guix-commits
[Top][All Lists]
Advanced

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

10/15: gnu: superlu-dist: Return #t from all phases.


From: Tobias Geerinckx-Rice
Subject: 10/15: gnu: superlu-dist: Return #t from all phases.
Date: Fri, 29 Jun 2018 21:54:50 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit e02a9975b8d8cc444c6b76483365cc4e2b8d76f9
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Jun 30 02:29:43 2018 +0200

    gnu: superlu-dist: Return #t from all phases.
    
    * gnu/packages/maths.scm (superlu-dist)[arguments]: Return #t rather
    than undefined from phases. Substitute INVOKE for SYSTEM*.
---
 gnu/packages/maths.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 140d0bc..cfb4b6f 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2231,11 +2231,11 @@ CDEFS       = -DAdd_"
              ;; isn't used anyway.)
              (setenv "OMPI_MCA_plm_rsh_agent" (which "cat"))
              (with-directory-excursion "EXAMPLE"
-               (and
-                (zero? (system* "mpirun" "-n" "2"
-                                "./pddrive" "-r" "1" "-c" "2" "g20.rua"))
-                (zero? (system* "mpirun" "-n" "2"
-                                "./pzdrive" "-r" "1" "-c" "2" "cg20.cua"))))))
+               (invoke "mpirun" "-n" "2"
+                       "./pddrive" "-r" "1" "-c" "2" "g20.rua")
+               (invoke "mpirun" "-n" "2"
+                       "./pzdrive" "-r" "1" "-c" "2" "cg20.cua"))
+             #t))
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
              ;; Library is placed in lib during the build phase.  Copy over



reply via email to

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