guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/13: gnu: dune-uggrid: Update to 2.7.1.


From: guix-commits
Subject: 04/13: gnu: dune-uggrid: Update to 2.7.1.
Date: Thu, 20 Jan 2022 09:29:39 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 15ae25bd253575aae023fc3632e72e3bc64515ad
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Sat Dec 18 13:36:52 2021 +0000

    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>
---
 gnu/packages/maths.scm | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index da25e70092..6c92020565 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6440,7 +6440,7 @@ This package contains the basic DUNE geometry classes.")
 (define-public dune-uggrid
   (package
     (name "dune-uggrid")
-    (version "2.7.0")
+    (version "2.7.1")
     (source
      (origin
        (method git-fetch)
@@ -6450,14 +6450,18 @@ This package contains the basic DUNE geometry classes.")
        (file-name (git-file-name name version))
        (sha256
         (base32
-         "192miqgmfj6jwk969gydzpbv9ki7jg5nky3ydnrwa2nq29b5xkh0"))))
+         "11qz52g9d5k96fqik2lyi80xryw174rnny074pj70ardl6zzz83p"))))
     (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))
     (native-inputs



reply via email to

[Prev in Thread] Current Thread [Next in Thread]