mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
gnu: dune-*: remove openmpi dependency
* gnu/packages/maths.scm (dune-*)[inputs]: Remove openmpi dependency. [arguments]: remove code to setup openmpi for tests. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
3dade1d59e
commit
393dc1cc0b
1 changed files with 7 additions and 30 deletions
|
@ -4592,13 +4592,10 @@ (define-public dune-common
|
|||
(modify-phases %standard-phases
|
||||
(add-after 'build 'build-tests
|
||||
(lambda* (#:key make-flags #:allow-other-keys)
|
||||
(apply invoke "make" "build_tests" make-flags)))
|
||||
(add-before 'check 'mpi-setup
|
||||
,%openmpi-setup))))
|
||||
(apply invoke "make" "build_tests" make-flags))))))
|
||||
(inputs
|
||||
`(("gmp" ,gmp)
|
||||
("metis" ,metis)
|
||||
("openmpi" ,openmpi)
|
||||
("openblas" ,openblas)
|
||||
("python" ,python)
|
||||
("superlu" ,superlu)))
|
||||
|
@ -4636,7 +4633,6 @@ (define-public dune-geometry
|
|||
(apply invoke "make" "build_tests" make-flags))))))
|
||||
(inputs
|
||||
`(("dune-common" ,dune-common)
|
||||
("openmpi" ,openmpi)
|
||||
;; Optional
|
||||
("openblas" ,openblas)
|
||||
("gmp" ,gmp)
|
||||
|
@ -4676,8 +4672,7 @@ (define-public dune-uggrid
|
|||
(lambda* (#:key make-flags #:allow-other-keys)
|
||||
(apply invoke "make" "build_tests" make-flags))))))
|
||||
(inputs
|
||||
`(("dune-common" ,dune-common)
|
||||
("openmpi" ,openmpi)))
|
||||
`(("dune-common" ,dune-common)))
|
||||
(native-inputs
|
||||
`(("gfortran" ,gfortran)
|
||||
("pkg-config" ,pkg-config)))
|
||||
|
@ -4710,16 +4705,13 @@ (define-public dune-grid
|
|||
(modify-phases %standard-phases
|
||||
(add-after 'build 'build-tests
|
||||
(lambda* (#:key make-flags #:allow-other-keys)
|
||||
(apply invoke "make" "build_tests" make-flags)))
|
||||
(add-before 'check 'mpi-setup
|
||||
,%openmpi-setup))))
|
||||
(apply invoke "make" "build_tests" make-flags))))))
|
||||
(inputs
|
||||
`(("dune-common" ,dune-common)
|
||||
("dune-geometry" ,dune-geometry)
|
||||
("gmp" ,gmp)
|
||||
("metis" ,metis)
|
||||
("openblas" ,openblas)
|
||||
("openmpi" ,openmpi)
|
||||
("python" ,python)))
|
||||
(propagated-inputs
|
||||
`(("dune-uggrid" ,dune-uggrid)))
|
||||
|
@ -4756,12 +4748,9 @@ (define-public dune-istl
|
|||
(modify-phases %standard-phases
|
||||
(add-after 'build 'build-tests
|
||||
(lambda* (#:key make-flags #:allow-other-keys)
|
||||
(apply invoke "make" "build_tests" make-flags)))
|
||||
(add-before 'check 'mpi-setup
|
||||
,%openmpi-setup))))
|
||||
(apply invoke "make" "build_tests" make-flags))))))
|
||||
(inputs
|
||||
`(("dune-common" ,dune-common)
|
||||
("openmpi" ,openmpi)
|
||||
;; Optional
|
||||
("metis" ,metis)
|
||||
("suitesparse" ,suitesparse)
|
||||
|
@ -4809,7 +4798,6 @@ (define-public dune-localfunctions
|
|||
(inputs
|
||||
`(("dune-common" ,dune-common)
|
||||
("dune-geometry" ,dune-geometry)
|
||||
("openmpi" ,openmpi)
|
||||
;; Optional
|
||||
("metis" ,metis)
|
||||
("superlu" ,superlu)
|
||||
|
@ -4857,14 +4845,11 @@ (define-public dune-alugrid
|
|||
(lambda* (#:key inputs make-flags #:allow-other-keys)
|
||||
(setenv "CPLUS_INCLUDE_PATH"
|
||||
(string-append (assoc-ref inputs "dune-grid") "/share"))
|
||||
(apply invoke "make" "build_tests" make-flags)))
|
||||
(add-before 'check 'mpi-setup
|
||||
,%openmpi-setup))))
|
||||
(apply invoke "make" "build_tests" make-flags))))))
|
||||
(inputs
|
||||
`(("dune-common" ,dune-common)
|
||||
("dune-geometry" ,dune-geometry)
|
||||
("dune-grid" ,dune-grid)
|
||||
("openmpi" ,openmpi)
|
||||
;; Optional
|
||||
("metis" ,metis)
|
||||
("openblas" ,openblas)
|
||||
|
@ -4902,14 +4887,11 @@ (define-public dune-subgrid
|
|||
(modify-phases %standard-phases
|
||||
(add-after 'build 'build-tests
|
||||
(lambda* (#:key make-flags #:allow-other-keys)
|
||||
(apply invoke "make" "build_tests" make-flags)))
|
||||
(add-before 'check 'mpi-setup
|
||||
,%openmpi-setup))))
|
||||
(apply invoke "make" "build_tests" make-flags))))))
|
||||
(inputs
|
||||
`(("dune-common" ,dune-common)
|
||||
("dune-geometry" ,dune-geometry)
|
||||
("dune-grid" ,dune-grid)
|
||||
("openmpi" ,openmpi)
|
||||
;; Optional
|
||||
("metis" ,metis)
|
||||
("openblas" ,openblas)
|
||||
|
@ -4948,7 +4930,6 @@ (define-public dune-typetree
|
|||
(apply invoke "make" "build_tests" make-flags))))))
|
||||
(inputs
|
||||
`(("dune-common" ,dune-common)
|
||||
("openmpi" ,openmpi)
|
||||
;; Optional
|
||||
("openblas" ,openblas)
|
||||
("python" ,python)
|
||||
|
@ -4991,9 +4972,7 @@ (define-public dune-functions
|
|||
#t))
|
||||
(add-after 'build 'build-tests
|
||||
(lambda* (#:key make-flags #:allow-other-keys)
|
||||
(apply invoke "make" "build_tests" make-flags)))
|
||||
(add-before 'check 'mpi-setup
|
||||
,%openmpi-setup))))
|
||||
(apply invoke "make" "build_tests" make-flags))))))
|
||||
(inputs
|
||||
`(("dune-common" ,dune-common)
|
||||
("dune-istl" ,dune-istl)
|
||||
|
@ -5001,7 +4980,6 @@ (define-public dune-functions
|
|||
("dune-grid" ,dune-grid)
|
||||
("dune-geometry" ,dune-geometry)
|
||||
("dune-typetree" ,dune-typetree)
|
||||
("openmpi" ,openmpi)
|
||||
("openblas" ,openblas)
|
||||
("metis" ,metis)
|
||||
("python" ,python)
|
||||
|
@ -5042,7 +5020,6 @@ (define-public dune-pdelab
|
|||
("dune-grid" ,dune-grid)
|
||||
("dune-typetree" ,dune-typetree)
|
||||
("dune-functions" ,dune-functions)
|
||||
("openmpi" ,openmpi)
|
||||
;; Optional
|
||||
("openblas" ,openblas)
|
||||
("eigen" ,eigen)
|
||||
|
|
Loading…
Reference in a new issue