This is an automated email from the git hooks/post-receive script.
guix_mirror_bot pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 37ee5dd9e8 gnu: hdf5-parallel-openmpi: Inherit configuration flags
from hdf5.
37ee5dd9e8 is described below
commit 37ee5dd9e81bc18a2fd27f6e70d942aa3efb4e85
Author: Romain GARBAGE <[email protected]>
AuthorDate: Wed Jul 9 15:29:51 2025 +0200
gnu: hdf5-parallel-openmpi: Inherit configuration flags from hdf5.
This propagates the fix for hdf5 introduced in commit
53b23512ee32b92ae6376ea80e9e1f56aeaf0ce0.
* gnu/packages/maths.scm (hdf5-parallel-openmpi): Inherit configuration
flags from hdf5.
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/maths.scm | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index bb57dfbcbf..a91ad4971b 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -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