gnu: dune-uggrid: Update to 2.7.1.
* gnu/packages/maths.scm (dune-uggrid): 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
9e5cdc4a6c
commit
15ae25bd25
@ -6440,7 +6440,7 @@ This package contains the basic DUNE geometry classes.")
|
|||||||
(define-public dune-uggrid
|
(define-public dune-uggrid
|
||||||
(package
|
(package
|
||||||
(name "dune-uggrid")
|
(name "dune-uggrid")
|
||||||
(version "2.7.0")
|
(version "2.7.1")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
@ -6450,14 +6450,18 @@ This package contains the basic DUNE geometry classes.")
|
|||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"192miqgmfj6jwk969gydzpbv9ki7jg5nky3ydnrwa2nq29b5xkh0"))))
|
"11qz52g9d5k96fqik2lyi80xryw174rnny074pj70ardl6zzz83p"))))
|
||||||
(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))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
|
Loading…
Reference in New Issue
Block a user