all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 46929@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#46929] [PATCH v3 09/12] gnu: dune-subgrid: Update to 2.7.1.
Date: Sat, 18 Dec 2021 13:36:57 +0000	[thread overview]
Message-ID: <20211218133700.10135-10-felgru@posteo.net> (raw)
In-Reply-To: <20211218133700.10135-1-felgru@posteo.net>

* 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.
---
 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 9874972e20..b05883fe42 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -6586,43 +6586,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
-- 
2.30.2





  parent reply	other threads:[~2021-12-18 13:43 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-04 19:53 [bug#46929] [PATCH] gnu: maths: dune-*: Update to version 2.7.1 Felix Gruber
2021-05-20 22:06 ` [bug#46929] [PATCH v2] " Felix Gruber
2021-12-18 13:36   ` [bug#46929] [PATCH v3 00/12] " Felix Gruber
2021-12-18 13:36     ` [bug#46929] [PATCH v3 01/12] gnu: Modernize add-openmpi-to-dune-package Felix Gruber
2021-12-18 13:36     ` [bug#46929] [PATCH v3 02/12] gnu: dune-common: Update to 2.7.1 Felix Gruber
2021-12-18 13:36     ` [bug#46929] [PATCH v3 03/12] gnu: dune-geometry: " Felix Gruber
2021-12-18 13:36     ` [bug#46929] [PATCH v3 04/12] gnu: dune-uggrid: " Felix Gruber
2021-12-18 13:36     ` [bug#46929] [PATCH v3 05/12] gnu: dune-grid: " Felix Gruber
2021-12-18 13:36     ` [bug#46929] [PATCH v3 06/12] gnu: dune-istl: " Felix Gruber
2021-12-18 13:36     ` [bug#46929] [PATCH v3 07/12] gnu: dune-localfunctions: " Felix Gruber
2021-12-18 13:36     ` [bug#46929] [PATCH v3 08/12] gnu: dune-alugrid: " Felix Gruber
2021-12-18 13:36     ` Felix Gruber [this message]
2021-12-18 13:36     ` [bug#46929] [PATCH v3 10/12] gnu: dune-typetree: " Felix Gruber
2021-12-18 13:36     ` [bug#46929] [PATCH v3 11/12] gnu: dune-functions: " Felix Gruber
2021-12-18 13:37     ` [bug#46929] [PATCH v3 12/12] gnu: dune-pdelab: " Felix Gruber
2022-01-20 13:57     ` bug#46929: [PATCH] gnu: maths: dune-*: Update to version 2.7.1 Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211218133700.10135-10-felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=46929@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.