mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 23:46:13 -05:00
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
1 changed files with 8 additions and 10 deletions
|
@ -3751,16 +3751,14 @@ (define-public hypre
|
|||
(lambda _
|
||||
(setenv "LD_LIBRARY_PATH" (string-append (getcwd) "/hypre/lib"))
|
||||
(setenv "PATH" (string-append "." ":" (getenv "PATH")))
|
||||
(and (system* "make" "check" "CHECKRUN=")
|
||||
(fold (lambda (filename result)
|
||||
(and result
|
||||
(let ((size (stat:size (stat filename))))
|
||||
(when (not (zero? size))
|
||||
(format #t "~a size ~d; error indication~%"
|
||||
filename size))
|
||||
(zero? size))))
|
||||
#t
|
||||
(find-files "test" ".*\\.err$")))))
|
||||
(invoke "make" "check" "CHECKRUN=")
|
||||
(for-each (lambda (filename)
|
||||
(let ((size (stat:size (stat filename))))
|
||||
(when (positive? size)
|
||||
(error (format #f "~a size ~d; error indication~%"
|
||||
filename size)))))
|
||||
(find-files "test" ".*\\.err$"))
|
||||
#t))
|
||||
(add-after 'install 'install-docs
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
;; Custom install because docs/Makefile doesn't honor ${docdir}.
|
||||
|
|
Loading…
Reference in a new issue