From ef07f19b933c2e3e0e7219854d5acef157e8dda0 Mon Sep 17 00:00:00 2001 From: Felix Gruber Date: Sat, 18 Dec 2021 13:36:55 +0000 Subject: gnu: dune-localfunctions: Update to 2.7.1. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/packages/maths.scm (dune-localfunctions): Update to 2.7.1. [arguments]: Parallelize build-tests phase. Signed-off-by: Ludovic Courtès --- gnu/packages/maths.scm | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'gnu/packages/maths.scm') 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 @@ (define-public dune-istl (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 @@ (define-public dune-localfunctions version "/dune-localfunctions-" version ".tar.gz")) (sha256 (base32 - "1yih59h6vngii696bx1c2vil02lriij4kz0nc583mjn9kiaqxfqd")))) + "031i42anrhi0ngpvp42rdjbkic7v3008fwild9xg7flffwvnpshg")))) (build-system cmake-build-system) (arguments `(#:phases @@ -6613,8 +6613,12 @@ (define-public dune-localfunctions ":")) #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 -- cgit v1.2.3