diff options
author | Felix Gruber <felgru@posteo.net> | 2021-12-18 13:36:58 +0000 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-01-20 15:28:14 +0100 |
commit | adc65e96916ebcd70d5b2b3899e7fee9d9c887c2 (patch) | |
tree | f581c4d09fde45297e3f937a1a932e3c022c1d86 /gnu/packages/maths.scm | |
parent | fb6e3fdfa74a5040cab130aee7aabb693c4edfbb (diff) |
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>
Diffstat (limited to 'gnu/packages/maths.scm')
-rw-r--r-- | gnu/packages/maths.scm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 056c349420..7db9bc8f01 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -6747,7 +6747,7 @@ provides the full grid interface including adaptive mesh refinement.") (define-public dune-typetree (package (name "dune-typetree") - (version "2.7.0") + (version "2.7.1") (source (origin (method git-fetch) @@ -6757,14 +6757,18 @@ provides the full grid interface including adaptive mesh refinement.") (file-name (git-file-name name version)) (sha256 (base32 - "1rhv25yg0q1hw50c8wlfqhgwrjl4mh62zq9v14ilwgzbfgxmpiy7")))) + "1kx9k8i7pdw6l6ny6nq85v5p1nd6yxldzaj8k3nizaz3q1j407pv")))) (build-system cmake-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'build 'build-tests - (lambda* (#:key make-flags #:allow-other-keys) - (apply invoke "make" "build_tests" make-flags)))))) + (lambda* (#:key make-flags parallel-build? #:allow-other-keys) + (apply invoke "make" "build_tests" + `(,@(if parallel-build? + `("-j" ,(number->string (parallel-job-count))) + '()) + ,@make-flags))))))) (inputs (list dune-common ;; Optional |