From e02a9975b8d8cc444c6b76483365cc4e2b8d76f9 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sat, 30 Jun 2018 02:29:43 +0200 Subject: 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(-) (limited to 'gnu/packages') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 140d0bcdf7..cfb4b6f632 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2231,11 +2231,11 @@ (define-public superlu-dist ;; 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 -- cgit v1.2.3