gnu: dune-typetree: Update to 2.7.1.
* gnu/packages/maths.scm (dune-typetree): Update to 2.7.1. [arguments]: Parallelize build-tests phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
fb6e3fdfa7
commit
adc65e9691
1 changed files with 8 additions and 4 deletions
|
|
@ -6747,7 +6747,7 @@ provides the full grid interface including adaptive mesh refinement.")
|
||||||
(define-public dune-typetree
|
(define-public dune-typetree
|
||||||
(package
|
(package
|
||||||
(name "dune-typetree")
|
(name "dune-typetree")
|
||||||
(version "2.7.0")
|
(version "2.7.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
|
|
@ -6757,14 +6757,18 @@ provides the full grid interface including adaptive mesh refinement.")
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1rhv25yg0q1hw50c8wlfqhgwrjl4mh62zq9v14ilwgzbfgxmpiy7"))))
|
"1kx9k8i7pdw6l6ny6nq85v5p1nd6yxldzaj8k3nizaz3q1j407pv"))))
|
||||||
(build-system cmake-build-system)
|
(build-system cmake-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:phases
|
`(#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(add-after 'build 'build-tests
|
(add-after 'build 'build-tests
|
||||||
(lambda* (#:key make-flags #:allow-other-keys)
|
(lambda* (#:key make-flags parallel-build? #:allow-other-keys)
|
||||||
(apply invoke "make" "build_tests" make-flags))))))
|
(apply invoke "make" "build_tests"
|
||||||
|
`(,@(if parallel-build?
|
||||||
|
`("-j" ,(number->string (parallel-job-count)))
|
||||||
|
'())
|
||||||
|
,@make-flags)))))))
|
||||||
(inputs
|
(inputs
|
||||||
(list dune-common
|
(list dune-common
|
||||||
;; Optional
|
;; Optional
|
||||||
|
|
|
||||||
Reference in a new issue