gnu: z3: Unconditionally return #T from build phases.
* gnu/packages/maths.scm (z3)[arguments]: Use INVOKE in build phases.master
parent
cb6f44d4e4
commit
32d5360f43
|
@ -3983,8 +3983,7 @@ as equations, scalars, vectors, and matrices.")
|
||||||
#t))
|
#t))
|
||||||
(add-before 'configure 'bootstrap
|
(add-before 'configure 'bootstrap
|
||||||
(lambda _
|
(lambda _
|
||||||
(zero?
|
(invoke "python" "scripts/mk_make.py")))
|
||||||
(system* "python" "scripts/mk_make.py"))))
|
|
||||||
;; work around gnu-build-system's setting --enable-fast-install
|
;; work around gnu-build-system's setting --enable-fast-install
|
||||||
;; (z3's `configure' is a wrapper around the above python file,
|
;; (z3's `configure' is a wrapper around the above python file,
|
||||||
;; which fails when passed --enable-fast-install)
|
;; which fails when passed --enable-fast-install)
|
||||||
|
@ -3999,12 +3998,12 @@ as equations, scalars, vectors, and matrices.")
|
||||||
(add-before 'check 'make-test-z3
|
(add-before 'check 'make-test-z3
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Build the test suite executable.
|
;; Build the test suite executable.
|
||||||
(zero? (system* "make" "test-z3" "-j"
|
(invoke "make" "test-z3" "-j"
|
||||||
(number->string (parallel-job-count))))))
|
(number->string (parallel-job-count)))))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda _
|
||||||
;; Run all the tests that don't require arguments.
|
;; Run all the tests that don't require arguments.
|
||||||
(zero? (system* "./test-z3" "/a")))))))
|
(invoke "./test-z3" "/a"))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("which" ,which)
|
`(("which" ,which)
|
||||||
("python" ,python-wrapper)))
|
("python" ,python-wrapper)))
|
||||||
|
|
Reference in New Issue