all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Felix Gruber <felgru@posteo.net>
To: 62842@debbugs.gnu.org
Cc: Felix Gruber <felgru@posteo.net>
Subject: [bug#62842] [PATCH 07/11] gnu: dune-alugrid: Update to 2.9.0.
Date: Fri, 14 Apr 2023 19:27:32 +0000	[thread overview]
Message-ID: <20230414192736.41322-7-felgru@posteo.net> (raw)
In-Reply-To: <20230414192518.41188-1-felgru@posteo.net>

* gnu/packages/maths.scm (dune-alugrid): Update to 2.9.0.
---
 gnu/packages/maths.scm | 101 ++++++++++++++++++++---------------------
 1 file changed, 49 insertions(+), 52 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 020f599f70..34fb239c73 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -7064,60 +7064,57 @@ (define-public dune-localfunctions
     (license license:gpl2)))
 
 (define-public dune-alugrid
-  ;; This was the last commit on the releases/2.7 branch as of 2021-12-17,
-  ;; unfortunately there was no tag for any 2.7 release.
-  (let ((commit "51bde29a2dfa7cfac4fb73d40ffd42b9c1eb1d3d"))
-    (package
-      (name "dune-alugrid")
-      (version (git-version "2.7.1" "0" commit))
-      (source
-       (origin
-         (method git-fetch)
-         (uri (git-reference
-               (url "https://gitlab.dune-project.org/extensions/dune-alugrid.git")
-               (commit commit)))
-         (file-name (git-file-name name version))
-         (sha256
-          (base32
-           "0z16wg6llzxs7vjg2yilg31vwnkz8k050j6bspg3blbym0razy15"))))
-      (build-system cmake-build-system)
-      (arguments
-       `(#:phases
-         (modify-phases %standard-phases
-           (add-after 'unpack 'patch-include
-             (lambda _
-               (substitute* "dune/alugrid/test/test-alugrid.cc"
-                 (("doc/grids/gridfactory/testgrids")
-                  "doc/dune-grid/grids/gridfactory/testgrids"))
-               #t))
-           (add-after 'build 'build-tests
-             (lambda* (#:key inputs make-flags parallel-build? #:allow-other-keys)
-               (setenv "CPLUS_INCLUDE_PATH"
-                       (string-append (assoc-ref inputs "dune-grid") "/share"))
-               (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
-             python
-             superlu
-             gmp
-             zlib))
-      (native-inputs
-       (list gfortran pkg-config))
-      (home-page "https://dune-project.org/")
-      (synopsis "Distributed and Unified Numerics Environment")
-      (description "ALUGrid is an adaptive, loadbalancing, unstructured
+  (package
+    (name "dune-alugrid")
+    (version "2.9.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.dune-project.org/extensions/dune-alugrid.git")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "0s41jinsfpm56nx41vkmyv3y9n072ssw9hxjm7di64zcszgpjmzd"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'patch-include
+           (lambda _
+             (substitute* "dune/alugrid/test/test-alugrid.cc"
+               (("doc/grids/gridfactory/testgrids")
+                "doc/dune-grid/grids/gridfactory/testgrids"))
+             #t))
+         (add-after 'build 'build-tests
+           (lambda* (#:key inputs make-flags parallel-build? #:allow-other-keys)
+             (setenv "CPLUS_INCLUDE_PATH"
+                     (string-append (assoc-ref inputs "dune-grid") "/share"))
+             (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
+           python
+           superlu
+           gmp
+           zlib))
+    (native-inputs
+     (list gfortran pkg-config))
+    (home-page "https://dune-project.org/")
+    (synopsis "Distributed and Unified Numerics Environment")
+    (description "ALUGrid is an adaptive, loadbalancing, unstructured
 implementation of the DUNE grid interface supporting either simplices or
 cubes.")
-      (license license:gpl2+))))
+    (license license:gpl2+)))
 
 (define-public dune-subgrid
   ;; This was the last commit on the releases/2.7 branch as of 2021-12-17.
-- 
2.39.2





  parent reply	other threads:[~2023-04-14 20:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-14 19:25 [bug#62842] [PATCH 00/11] gnu: maths: dune-*: Update to version 2.9.0 Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 01/11] gnu: dune-common: Update to 2.9.0 Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 02/11] gnu: dune-geometry: " Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 03/11] gnu: dune-uggrid: " Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 04/11] gnu: dune-grid: " Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 05/11] gnu: dune-istl: " Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 06/11] gnu: dune-localfunctions: " Felix Gruber
2023-04-14 19:27 ` Felix Gruber [this message]
2023-04-14 19:27 ` [bug#62842] [PATCH 08/11] gnu: dune-subgrid: Update to 2.9.0-1-e83f3f9 Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 09/11] gnu: dune-typetree: Update to 2.9.0 Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 10/11] gnu: dune-functions: " Felix Gruber
2023-04-14 19:27 ` [bug#62842] [PATCH 11/11] gnu: dune-pdelab: Update to 2.8.0-0.d5dddb6 Felix Gruber
2023-05-02 10:13 ` bug#62842: [PATCH 00/11] gnu: maths: dune-*: Update to version 2.9.0 Ludovic Courtès
2023-05-02 13:01 ` [bug#62842] " Ludovic Courtès
2023-05-02 20:18   ` Felix Gruber
2023-05-04  9:35     ` Ludovic Courtès
2023-05-02 13:02 ` 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=20230414192736.41322-7-felgru@posteo.net \
    --to=felgru@posteo.net \
    --cc=62842@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.