gnu: hdf5: Allow for absence of utility script.
* gnu/packages/maths.scm (hdf5)[arguments]: Add condition to 'split' phase to check for existence of h5fc script. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
10e066f410
commit
b0d1e60fff
|
@ -814,8 +814,11 @@ incompatible with HDF5.")
|
||||||
(mkdir-p flib)
|
(mkdir-p flib)
|
||||||
(mkdir-p finc)
|
(mkdir-p finc)
|
||||||
(mkdir-p fex)
|
(mkdir-p fex)
|
||||||
|
;; Note: When built with --enable-parallel, the 'h5fc' file
|
||||||
|
;; doesn't exist, hence this condition.
|
||||||
|
(when (file-exists? (string-append bin "/h5fc"))
|
||||||
(rename-file (string-append bin "/h5fc")
|
(rename-file (string-append bin "/h5fc")
|
||||||
(string-append fbin "/h5fc"))
|
(string-append fbin "/h5fc")))
|
||||||
(for-each (lambda (file)
|
(for-each (lambda (file)
|
||||||
(rename-file file
|
(rename-file file
|
||||||
(string-append flib "/" (basename file))))
|
(string-append flib "/" (basename file))))
|
||||||
|
|
Loading…
Reference in New Issue