summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain GARBAGE <romain.garbage@inria.fr>2025-08-21 17:05:25 +0200
committerAndreas Enge <andreas@enge.fr>2025-08-22 09:38:25 +0200
commit3fcd1521b3559fc857082d167ba6c16d69a73d22 (patch)
treeebe69866390661114a2cf51a62f515bed98d9e71
parent760937c6e7285a8e0e78716351576466f021a2d6 (diff)
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 <andreas@enge.fr>
-rw-r--r--gnu/packages/maths.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 8015fa16ca8..813c019c589 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