This is an automated email from the git hooks/post-receive script.

andreas pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new ca3be0964a gnu: hdf5-parallel-openmpi: Add Fortran support.
ca3be0964a is described below

commit ca3be0964af171721123f97e0850b3e734a575f5
Author: Romain GARBAGE <romain.garb...@inria.fr>
AuthorDate: Tue May 6 14:42:14 2025 +0200

    gnu: hdf5-parallel-openmpi: Add Fortran support.
    
    Fortran support was removed by commit 8eeb04e205a, but was present before.
    
    * gnu/packages/maths.scm (hdf5-parallel-openmpi)[arguments]: Add Fortran
    support. Switch to G-exps. Fix path for CMake files as done by parent hdf5
    package.
    
    Change-Id: I1d7c8adea6e8cadc4d8a16d8313f65388ead009d
    Signed-off-by: Andreas Enge <andr...@enge.fr>
---
 gnu/packages/maths.scm | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index bba3c9f33c..7348ce287f 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2193,8 +2193,11 @@ Swath).")
     (arguments
      (substitute-keyword-arguments (package-arguments hdf5)
        ((#:configure-flags _ #f)
-        ''("-DHDF5_ENABLE_THREADSAFE=OFF"
+        #~(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"))
        ((#:phases phases)

Reply via email to