gnu: hypre: Unconditionally return #T from build phases.
* gnu/packages/maths.scm (hypre)[arguments]: Use INVOKE and unconditionally return #T from build phases.
This commit is contained in:
parent
9cd82b1c9d
commit
6b1c7ac8ed
|
@ -3751,16 +3751,14 @@ set.")
|
||||||
(lambda _
|
(lambda _
|
||||||
(setenv "LD_LIBRARY_PATH" (string-append (getcwd) "/hypre/lib"))
|
(setenv "LD_LIBRARY_PATH" (string-append (getcwd) "/hypre/lib"))
|
||||||
(setenv "PATH" (string-append "." ":" (getenv "PATH")))
|
(setenv "PATH" (string-append "." ":" (getenv "PATH")))
|
||||||
(and (system* "make" "check" "CHECKRUN=")
|
(invoke "make" "check" "CHECKRUN=")
|
||||||
(fold (lambda (filename result)
|
(for-each (lambda (filename)
|
||||||
(and result
|
|
||||||
(let ((size (stat:size (stat filename))))
|
(let ((size (stat:size (stat filename))))
|
||||||
(when (not (zero? size))
|
(when (positive? size)
|
||||||
(format #t "~a size ~d; error indication~%"
|
(error (format #f "~a size ~d; error indication~%"
|
||||||
filename size))
|
filename size)))))
|
||||||
(zero? size))))
|
(find-files "test" ".*\\.err$"))
|
||||||
#t
|
#t))
|
||||||
(find-files "test" ".*\\.err$")))))
|
|
||||||
(add-after 'install 'install-docs
|
(add-after 'install 'install-docs
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
;; Custom install because docs/Makefile doesn't honor ${docdir}.
|
;; Custom install because docs/Makefile doesn't honor ${docdir}.
|
||||||
|
|
Loading…
Reference in New Issue