guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 3fcd1521b3559fc857082d167ba6c16d69a73d22
Author: Romain GARBAGE <[email protected]>
AuthorDate: Thu Aug 21 17:05:25 2025 +0200
gnu: hdf5-parallel-openmpi: Fix broken package.
* gnu/packages/maths.scm (hdf5-parallel-openmpi)[arguments]<#:phases>
{remove-gcc-references}: Do not attempt to modify non-existing files.
Change-Id: I84cd3376ac014c02716ebcb2044009feb52eaf83
Signed-off-by: Andreas Enge <[email protected]>
---
gnu/packages/maths.scm | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 8015fa16ca..813c019c58 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -2302,7 +2302,15 @@ Swath).")
;; test per line in this file).
(substitute* "testpar/CMakeLists.txt"
(("(t_pmulti_dset|t_shapesame|t_filters_parallel)" _ test)
- (string-append "# " test "\n")))))))))
+ (string-append "# " test "\n")))))
+ (replace 'remove-gcc-references
+ (lambda _
+ (substitute* (map (lambda (f)
+ (string-append #$output "/" f))
+ '("bin/h5hlcc"
+ "bin/h5cc"))
+ (("/gnu/store/[a-z0-9]*-gcc-[0-9.]*/bin/")
+ ""))))))))
(synopsis "Management suite for data with parallel IO support")))
(define-public hdf5-blosc