mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: hdf5-parallel-openmpi: Inherit configuration flags from hdf5.
This propagates the fix for hdf5 introduced in commit
53b23512ee
.
* gnu/packages/maths.scm (hdf5-parallel-openmpi): Inherit configuration flags from hdf5.
Signed-off-by: Andreas Enge <andreas@enge.fr>
This commit is contained in:
parent
b02f78a6d9
commit
37ee5dd9e8
1 changed files with 10 additions and 8 deletions
|
@ -2249,14 +2249,16 @@ Swath).")
|
|||
(prepend openmpi)))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments hdf5)
|
||||
((#:configure-flags _ #f)
|
||||
#~(list
|
||||
(string-append "-DHDF5_INSTALL_CMAKE_DIR=" #$output "/lib/cmake")
|
||||
"-DHDF5_ENABLE_THREADSAFE=OFF"
|
||||
"-DHDF5_ENABLE_PARALLEL=ON"
|
||||
"-DHDF5_BUILD_FORTRAN=ON"
|
||||
"-DHDF5_BUILD_CPP_LIB=OFF"
|
||||
"-DHDF5_BUILD_DOC=ON"))
|
||||
((#:configure-flags flags '())
|
||||
#~(append (filter (lambda (flag)
|
||||
(not
|
||||
(or (string-prefix? "-DHDF5_ENABLE_THREADSAFE" flag)
|
||||
(string-prefix? "-DHDF5_BUILD_CPP_LIB" flag)
|
||||
(string-prefix? "-DALLOW_UNSUPPORTED" flag))))
|
||||
#$flags)
|
||||
(list "-DHDF5_ENABLE_THREADSAFE=OFF"
|
||||
"-DHDF5_ENABLE_PARALLEL=ON"
|
||||
"-DHDF5_BUILD_CPP_LIB=OFF" )))
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(add-after 'build 'mpi-setup
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue