summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-04-28 10:44:34 +0200
committerRicardo Wurmus <rekado@elephly.net>2019-04-28 16:05:56 +0200
commitcb6f44d4e4384f481db4de8fec3f76635f32ad79 (patch)
treea1bc5aaec7e7f7e850ac270be15491b33952aa67
parent1ec17821069601cbc45b31b4d80973c0a8947f35 (diff)
gnu: atlas: Always return #T from build phases.
* gnu/packages/maths.scm (atlas)[arguments]: Always return #T from build phases; use INVOKE.
-rw-r--r--gnu/packages/maths.scm15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index e4e9c52598c..6aa402b823b 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3300,7 +3300,6 @@ packages.")
3300 #:substitutable? #f 3300 #:substitutable? #f
3301 3301
3302 #:modules ((srfi srfi-26) 3302 #:modules ((srfi srfi-26)
3303 (srfi srfi-1)
3304 (guix build gnu-build-system) 3303 (guix build gnu-build-system)
3305 (guix build utils)) 3304 (guix build utils))
3306 #:configure-flags 3305 #:configure-flags
@@ -3333,11 +3332,11 @@ packages.")
3333 (let ((doc (string-append (assoc-ref outputs "doc") 3332 (let ((doc (string-append (assoc-ref outputs "doc")
3334 "/share/doc/atlas"))) 3333 "/share/doc/atlas")))
3335 (mkdir-p doc) 3334 (mkdir-p doc)
3336 (fold (lambda (file previous) 3335 (for-each (cut install-file <> doc)
3337 (and previous (zero? (system* "cp" file doc)))) 3336 (find-files "../ATLAS/doc" ".*"))
3338 #t (find-files "../ATLAS/doc" ".*"))))) 3337 #t)))
3339 (add-after 'check 'check-pt 3338 (add-after 'check 'check-pt
3340 (lambda _ (zero? (system* "make" "ptcheck")))) 3339 (lambda _ (invoke "make" "ptcheck")))
3341 ;; Fix files required to run configure. 3340 ;; Fix files required to run configure.
3342 (add-before 'configure 'fix-/bin/sh 3341 (add-before 'configure 'fix-/bin/sh
3343 (lambda _ 3342 (lambda _
@@ -3372,9 +3371,9 @@ packages.")
3372 (chdir "../build") 3371 (chdir "../build")
3373 (format #t "build directory: ~s~%" (getcwd)) 3372 (format #t "build directory: ~s~%" (getcwd))
3374 (format #t "configure flags: ~s~%" flags) 3373 (format #t "configure flags: ~s~%" flags)
3375 (zero? (apply system* bash 3374 (apply invoke bash
3376 (string-append srcdir "/configure") 3375 (string-append srcdir "/configure")
3377 flags)))))))) 3376 flags)))))))
3378 (synopsis "Automatically Tuned Linear Algebra Software") 3377 (synopsis "Automatically Tuned Linear Algebra Software")
3379 (description 3378 (description
3380 "ATLAS is an automatically tuned linear algebra software library 3379 "ATLAS is an automatically tuned linear algebra software library