guix-commits
[Top][All Lists]
Advanced

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

07/13: gnu: dune-localfunctions: Update to 2.7.1.


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

civodul pushed a commit to branch master
in repository guix.

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

    gnu: dune-localfunctions: Update to 2.7.1.
    
    * gnu/packages/maths.scm (dune-localfunctions): 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 8dc1c958e4..8b3a939941 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6587,7 +6587,7 @@ aggregation-based algebraic multigrid.")
 (define-public dune-localfunctions
   (package
     (name "dune-localfunctions")
-    (version "2.7.0")
+    (version "2.7.1")
     (source
      (origin
        (method url-fetch)
@@ -6595,7 +6595,7 @@ aggregation-based algebraic multigrid.")
                            version "/dune-localfunctions-" version ".tar.gz"))
        (sha256
         (base32
-         "1yih59h6vngii696bx1c2vil02lriij4kz0nc583mjn9kiaqxfqd"))))
+         "031i42anrhi0ngpvp42rdjbkic7v3008fwild9xg7flffwvnpshg"))))
     (build-system cmake-build-system)
     (arguments
      `(#:phases
@@ -6613,8 +6613,12 @@ aggregation-based algebraic multigrid.")
                         ":"))
                #t)))
          (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
            dune-geometry



reply via email to

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