summary refs log tree commit diff
path: root/gnu/packages/maths.scm
diff options
context:
space:
mode:
authorFelix Gruber <felgru@posteo.net>2021-12-18 13:36:51 +0000
committerLudovic Courtès <ludo@gnu.org>2022-01-20 15:28:13 +0100
commit9e5cdc4a6c33a650c006ed6ce34d4f6c59b29b79 (patch)
tree191bac3c72def7e90308b792b76c4e814d5942bb /gnu/packages/maths.scm
parent3bfcc63c310e022e806a101e3f67aa87ba709409 (diff)
downloadguix-9e5cdc4a6c33a650c006ed6ce34d4f6c59b29b79.tar.gz
gnu: dune-geometry: Update to 2.7.1.
* gnu/packages/maths.scm (dune-geometry): 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.scm12
1 files changed, 8 insertions, 4 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index b7497e7050..da25e70092 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6399,7 +6399,7 @@ Differences} (FD).")
 (define-public dune-geometry
   (package
     (name "dune-geometry")
-    (version "2.7.0")
+    (version "2.7.1")
     (source
      (origin
        (method url-fetch)
@@ -6407,14 +6407,18 @@ Differences} (FD).")
                            version "/dune-geometry-" version ".tar.gz"))
        (sha256
         (base32
-         "1cicvlwbyyw76npicnblxckyvhbfn3ip8isydiv3hlrlz8zcg5nr"))))
+         "068mh3fd110xl27rwxqlqy4d9cpqw2vqm2pzfrripiaqscb3byfy"))))
     (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