[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/15: gnu: scotch: Return #t from all phases.
From: |
Tobias Geerinckx-Rice |
Subject: |
09/15: gnu: scotch: 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 d67a7e9e8d0595ac8594311e0fb438f476f5d080
Author: Tobias Geerinckx-Rice <address@hidden>
Date: Sat Jun 30 02:32:11 2018 +0200
gnu: scotch: Return #t from all phases.
* gnu/packages/maths.scm (scotch)[arguments]: Return #t rather than
undefined from phases. Substitute INVOKE for SYSTEM*.
---
gnu/packages/maths.scm | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 7cd3c46..140d0bc 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2283,7 +2283,7 @@ implemented in ANSI C, and MPI for communications.")
(modify-phases %standard-phases
(add-after
'unpack 'chdir-to-src
- (lambda _ (chdir "src")))
+ (lambda _ (chdir "src") #t))
(replace
'configure
(lambda _
@@ -2320,7 +2320,8 @@ YACC = bison -pscotchyy -y -b y
;; XXX: Causes invalid frees in superlu-dist tests
;; "SCOTCH_PTHREAD"
;; "SCOTCH_PTHREAD_NUMBER=2"
- "restrict=__restrict"))))))
+ "restrict=__restrict"))))
+ #t))
(add-after
'build 'build-esmumps
(lambda _
@@ -2330,24 +2331,25 @@ YACC = bison -pscotchyy -y -b y
;; isn't used anyway.)
(setenv "OMPI_MCA_plm_rsh_agent" (which "cat"))
- (zero? (system* "make"
- (format #f "-j~a" (parallel-job-count))
- "esmumps"))))
+ (invoke "make"
+ (format #f "-j~a" (parallel-job-count))
+ "esmumps")))
(replace
'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(mkdir out)
- (zero? (system* "make"
- (string-append "prefix=" out)
- "install"))
+ (invoke "make"
+ (string-append "prefix=" out)
+ "install")
;; esmumps files are not installed with the above
(for-each (lambda (f)
(copy-file f (string-append out "/include/" f)))
(find-files "../include" ".*esmumps.h$"))
(for-each (lambda (f)
(copy-file f (string-append out "/lib/" f)))
- (find-files "../lib" "^lib.*esmumps.*"))))))))
+ (find-files "../lib" "^lib.*esmumps.*"))
+ #t))))))
(home-page "http://www.labri.fr/perso/pelegrin/scotch/")
(synopsis "Programs and libraries for graph algorithms")
(description "SCOTCH is a set of programs and libraries which implement
- 04/15: gnu: python-rst.linker: Update to 1.10., (continued)
- 04/15: gnu: python-rst.linker: Update to 1.10., Tobias Geerinckx-Rice, 2018/06/29
- 08/15: gnu: petsc: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/29
- 11/15: gnu: mumps: Use INVOKE., Tobias Geerinckx-Rice, 2018/06/29
- 12/15: gnu: slepc: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/29
- 06/15: gnu: xxhash: Don't use unstable tarball., Tobias Geerinckx-Rice, 2018/06/29
- 07/15: gnu: xxhash: Update to 0.6.5., Tobias Geerinckx-Rice, 2018/06/29
- 10/15: gnu: superlu-dist: Return #t from all phases., Tobias Geerinckx-Rice, 2018/06/29
- 13/15: gnu: wget2: Return #t from phases., Tobias Geerinckx-Rice, 2018/06/29
- 03/15: gnu: python-xopen: Update to 0.3.3., Tobias Geerinckx-Rice, 2018/06/29
- 05/15: gnu: tlsdate: Bump COMPILE_DATE., Tobias Geerinckx-Rice, 2018/06/29
- 09/15: gnu: scotch: Return #t from all phases.,
Tobias Geerinckx-Rice <=
- 14/15: gnu: ristretto: Update to 0.8.3., Tobias Geerinckx-Rice, 2018/06/29
- 01/15: gnu: python-parso: Update to 0.2.1., Tobias Geerinckx-Rice, 2018/06/29
- 15/15: gnu: libgphoto2: Update to 2.5.18., Tobias Geerinckx-Rice, 2018/06/29