gnu: dune-functions: Update to 2.7.1.

* gnu/packages/maths.scm (dune-functions): Update to 2.7.1.
  [arguments]: Parallelize build-tests phase.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Felix Gruber 2021-12-18 13:36:59 +00:00 committed by Ludovic Courtès
parent adc65e9691
commit ad0a7a16d9
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -6789,7 +6789,7 @@ (define-public dune-typetree
(define-public dune-functions
(package
(name "dune-functions")
(version "2.7.0")
(version "2.7.1")
(source
(origin
(method git-fetch)
@ -6799,7 +6799,7 @@ (define-public dune-functions
(file-name (git-file-name name version))
(sha256
(base32
"1na4gcih0kin37ksj2xj07ds04v7zx53pjdhm1hzy55jjfqdjk8h"))))
"04dhr4asnl38bf1gp8hrk31maav33m7q71lhl2n5yk1q1x6i77nw"))))
(build-system cmake-build-system)
(arguments
`(#:phases
@ -6811,8 +6811,12 @@ (define-public dune-functions
"--exclude-regex gridviewfunctionspacebasistest")
#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-istl