[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: atlas: Always return #T from build phases.
From: |
guix-commits |
Subject: |
03/07: gnu: atlas: Always return #T from build phases. |
Date: |
Sun, 28 Apr 2019 10:06:10 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit cb6f44d4e4384f481db4de8fec3f76635f32ad79
Author: Ricardo Wurmus <address@hidden>
Date: Sun Apr 28 10:44:34 2019 +0200
gnu: atlas: Always return #T from build phases.
* gnu/packages/maths.scm (atlas)[arguments]: Always return #T from build
phases; use INVOKE.
---
gnu/packages/maths.scm | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index e4e9c52..6aa402b 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3300,7 +3300,6 @@ packages.")
#:substitutable? #f
#:modules ((srfi srfi-26)
- (srfi srfi-1)
(guix build gnu-build-system)
(guix build utils))
#:configure-flags
@@ -3333,11 +3332,11 @@ packages.")
(let ((doc (string-append (assoc-ref outputs "doc")
"/share/doc/atlas")))
(mkdir-p doc)
- (fold (lambda (file previous)
- (and previous (zero? (system* "cp" file doc))))
- #t (find-files "../ATLAS/doc" ".*")))))
+ (for-each (cut install-file <> doc)
+ (find-files "../ATLAS/doc" ".*"))
+ #t)))
(add-after 'check 'check-pt
- (lambda _ (zero? (system* "make" "ptcheck"))))
+ (lambda _ (invoke "make" "ptcheck")))
;; Fix files required to run configure.
(add-before 'configure 'fix-/bin/sh
(lambda _
@@ -3372,9 +3371,9 @@ packages.")
(chdir "../build")
(format #t "build directory: ~s~%" (getcwd))
(format #t "configure flags: ~s~%" flags)
- (zero? (apply system* bash
- (string-append srcdir "/configure")
- flags))))))))
+ (apply invoke bash
+ (string-append srcdir "/configure")
+ flags)))))))
(synopsis "Automatically Tuned Linear Algebra Software")
(description
"ATLAS is an automatically tuned linear algebra software library
- branch master updated (7d62fa2 -> cee0612), guix-commits, 2019/04/28
- 02/07: gnu: make-blis: Always return #T from configure phase., guix-commits, 2019/04/28
- 01/07: gnu: kdevplatform: Use INVOKE., guix-commits, 2019/04/28
- 04/07: gnu: z3: Unconditionally return #T from build phases., guix-commits, 2019/04/28
- 03/07: gnu: atlas: Always return #T from build phases.,
guix-commits <=
- 06/07: gnu: hypre: Unconditionally return #T from build phases., guix-commits, 2019/04/28
- 05/07: gnu: jacal: Unconditionally return #T from configure phase., guix-commits, 2019/04/28
- 07/07: gnu: Remove unused module reference., guix-commits, 2019/04/28