[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/13: gnu: dune-subgrid: Update to 2.7.1.
From: |
guix-commits |
Subject: |
09/13: gnu: dune-subgrid: Update to 2.7.1. |
Date: |
Thu, 20 Jan 2022 09:29:51 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit fb6e3fdfa74a5040cab130aee7aabb693c4edfbb
Author: Felix Gruber <felgru@posteo.net>
AuthorDate: Sat Dec 18 13:36:57 2021 +0000
gnu: dune-subgrid: Update to 2.7.1.
* gnu/packages/maths.scm (dune-subgrid): Update to 2.7.1.
[version]: Use `git-version` to compute the version string.
[arguments]: Parallelize build-tests phase.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/maths.scm | 75 +++++++++++++++++++++++++++-----------------------
1 file changed, 41 insertions(+), 34 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 8f0d697f15..056c349420 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6699,43 +6699,50 @@ cubes.")
(license license:gpl2+))))
(define-public dune-subgrid
- (package
- (name "dune-subgrid")
- (version "2.7.0-git-2103a363")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.imp.fu-berlin.de/agnumpde/dune-subgrid")
- (commit "2103a363f32e8d7b60e66eee7ddecf969f6cf762")))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1wsjlypd3835c3arqjkw836cxx5q67zy447wa65q634lf6f6v9ia"))))
- (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))))))
- (inputs
- (list dune-common
- dune-geometry
- dune-grid
- ;; Optional
- metis
- openblas
- gmp))
- (native-inputs
- (list gfortran pkg-config))
- (home-page "http://numerik.mi.fu-berlin.de/dune-subgrid/index.php")
- (synopsis "Distributed and Unified Numerics Environment")
- (description "The dune-subgrid module marks elements of
+ ;; This was the last commit on the releases/2.7 branch as of 2021-12-17.
+ ;; Unfortunately the dune-subgrid repository contains no release tags.
+ (let ((commit "45d1ee9f3f711e209695deee97912f4954f7f280"))
+ (package
+ (name "dune-subgrid")
+ (version (git-version "2.7.1" "0" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.imp.fu-berlin.de/agnumpde/dune-subgrid")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0xjf7865wil7kzym608kv3nc3ff3m3nlqich4k9wjyvy3lz6panh"))))
+ (build-system cmake-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'build 'build-tests
+ (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
+ dune-grid
+ ;; Optional
+ metis
+ openblas
+ gmp))
+ (native-inputs
+ (list gfortran pkg-config))
+ (home-page "http://numerik.mi.fu-berlin.de/dune-subgrid/index.php")
+ (synopsis "Distributed and Unified Numerics Environment")
+ (description "The dune-subgrid module marks elements of
another hierarchical dune grid. The set of marked elements can then be
accessed as a hierarchical dune grid in its own right. Dune-Subgrid
provides the full grid interface including adaptive mesh refinement.")
- (license license:gpl2+)))
+ (license license:gpl2+))))
(define-public dune-typetree
(package
- branch master updated (d99e42d7f6 -> ee6bf00b2d), guix-commits, 2022/01/20
- 02/13: gnu: dune-common: Update to 2.7.1., guix-commits, 2022/01/20
- 04/13: gnu: dune-uggrid: Update to 2.7.1., guix-commits, 2022/01/20
- 03/13: gnu: dune-geometry: Update to 2.7.1., guix-commits, 2022/01/20
- 01/13: gnu: Modernize add-openmpi-to-dune-package, guix-commits, 2022/01/20
- 05/13: gnu: dune-grid: Update to 2.7.1., guix-commits, 2022/01/20
- 13/13: gnu: Add uftrace., guix-commits, 2022/01/20
- 10/13: gnu: dune-typetree: Update to 2.7.1., guix-commits, 2022/01/20
- 09/13: gnu: dune-subgrid: Update to 2.7.1.,
guix-commits <=
- 11/13: gnu: dune-functions: Update to 2.7.1., guix-commits, 2022/01/20
- 07/13: gnu: dune-localfunctions: Update to 2.7.1., guix-commits, 2022/01/20
- 06/13: gnu: dune-istl: Update to 2.7.1., guix-commits, 2022/01/20
- 12/13: gnu: dune-pdelab: Update to 2.7.1., guix-commits, 2022/01/20
- 08/13: gnu: dune-alugrid: Update to 2.7.1., guix-commits, 2022/01/20