gnu: dune-alugrid: Update to 2.9.0.
* gnu/packages/maths.scm (dune-alugrid): Update to 2.9.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									d85ffbe381
								
							
						
					
					
						commit
						ab7de7df99
					
				
					 1 changed files with 49 additions and 52 deletions
				
			
		|  | @ -7081,60 +7081,57 @@ assemble global function spaces on finite-element grids.") | ||||||
|     (license license:gpl2))) |     (license license:gpl2))) | ||||||
| 
 | 
 | ||||||
| (define-public dune-alugrid | (define-public dune-alugrid | ||||||
|   ;; This was the last commit on the releases/2.7 branch as of 2021-12-17, |   (package | ||||||
|   ;; unfortunately there was no tag for any 2.7 release. |     (name "dune-alugrid") | ||||||
|   (let ((commit "51bde29a2dfa7cfac4fb73d40ffd42b9c1eb1d3d")) |     (version "2.9.0") | ||||||
|     (package |     (source | ||||||
|       (name "dune-alugrid") |      (origin | ||||||
|       (version (git-version "2.7.1" "0" commit)) |        (method git-fetch) | ||||||
|       (source |        (uri (git-reference | ||||||
|        (origin |              (url "https://gitlab.dune-project.org/extensions/dune-alugrid.git") | ||||||
|          (method git-fetch) |              (commit (string-append "v" version)))) | ||||||
|          (uri (git-reference |        (file-name (git-file-name name version)) | ||||||
|                (url "https://gitlab.dune-project.org/extensions/dune-alugrid.git") |        (sha256 | ||||||
|                (commit commit))) |         (base32 | ||||||
|          (file-name (git-file-name name version)) |          "0s41jinsfpm56nx41vkmyv3y9n072ssw9hxjm7di64zcszgpjmzd")))) | ||||||
|          (sha256 |     (build-system cmake-build-system) | ||||||
|           (base32 |     (arguments | ||||||
|            "0z16wg6llzxs7vjg2yilg31vwnkz8k050j6bspg3blbym0razy15")))) |      `(#:phases | ||||||
|       (build-system cmake-build-system) |        (modify-phases %standard-phases | ||||||
|       (arguments |          (add-after 'unpack 'patch-include | ||||||
|        `(#:phases |            (lambda _ | ||||||
|          (modify-phases %standard-phases |              (substitute* "dune/alugrid/test/test-alugrid.cc" | ||||||
|            (add-after 'unpack 'patch-include |                (("doc/grids/gridfactory/testgrids") | ||||||
|              (lambda _ |                 "doc/dune-grid/grids/gridfactory/testgrids")) | ||||||
|                (substitute* "dune/alugrid/test/test-alugrid.cc" |              #t)) | ||||||
|                  (("doc/grids/gridfactory/testgrids") |          (add-after 'build 'build-tests | ||||||
|                   "doc/dune-grid/grids/gridfactory/testgrids")) |            (lambda* (#:key inputs make-flags parallel-build? #:allow-other-keys) | ||||||
|                #t)) |              (setenv "CPLUS_INCLUDE_PATH" | ||||||
|            (add-after 'build 'build-tests |                      (string-append (assoc-ref inputs "dune-grid") "/share")) | ||||||
|              (lambda* (#:key inputs make-flags parallel-build? #:allow-other-keys) |              (apply invoke "make" "build_tests" | ||||||
|                (setenv "CPLUS_INCLUDE_PATH" |                     `(,@(if parallel-build? | ||||||
|                        (string-append (assoc-ref inputs "dune-grid") "/share")) |                             `("-j" ,(number->string (parallel-job-count))) | ||||||
|                (apply invoke "make" "build_tests" |                             '()) | ||||||
|                       `(,@(if parallel-build? |                       ,@make-flags))))))) | ||||||
|                               `("-j" ,(number->string (parallel-job-count))) |     (inputs | ||||||
|                               '()) |      (list dune-common | ||||||
|                         ,@make-flags))))))) |            dune-geometry | ||||||
|       (inputs |            dune-grid | ||||||
|        (list dune-common |            ;; Optional | ||||||
|              dune-geometry |            metis | ||||||
|              dune-grid |            openblas | ||||||
|              ;; Optional |            python | ||||||
|              metis |            superlu | ||||||
|              openblas |            gmp | ||||||
|              python |            zlib)) | ||||||
|              superlu |     (native-inputs | ||||||
|              gmp |      (list gfortran pkg-config)) | ||||||
|              zlib)) |     (home-page "https://dune-project.org/") | ||||||
|       (native-inputs |     (synopsis "Distributed and Unified Numerics Environment") | ||||||
|        (list gfortran pkg-config)) |     (description "ALUGrid is an adaptive, loadbalancing, unstructured | ||||||
|       (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 | implementation of the DUNE grid interface supporting either simplices or | ||||||
| cubes.") | cubes.") | ||||||
|       (license license:gpl2+)))) |     (license license:gpl2+))) | ||||||
| 
 | 
 | ||||||
| (define-public dune-subgrid | (define-public dune-subgrid | ||||||
|   ;; This was the last commit on the releases/2.7 branch as of 2021-12-17. |   ;; This was the last commit on the releases/2.7 branch as of 2021-12-17. | ||||||
|  |  | ||||||
		Reference in a new issue