fix(hdf5): h5pfc link failure (#37468)
* fix(hdf5): h5pfc link failure
develop branch doesn't need linking any more.
See: acb186f6e5
* [@spackbot] updating style on behalf of hyoklee
---------
Co-authored-by: hyoklee <hyoklee@users.noreply.github.com>
This commit is contained in:
parent
1d96fdc74a
commit
e49f10a28e
@ -637,9 +637,7 @@ def ensure_parallel_compiler_wrappers(self):
|
|||||||
# 1.10.6 and 1.12.0. The current develop versions do not produce 'h5pfc'
|
# 1.10.6 and 1.12.0. The current develop versions do not produce 'h5pfc'
|
||||||
# at all. Here, we make sure that 'h5pfc' is available when Fortran and
|
# at all. Here, we make sure that 'h5pfc' is available when Fortran and
|
||||||
# MPI support are enabled (only for versions that generate 'h5fc').
|
# MPI support are enabled (only for versions that generate 'h5fc').
|
||||||
if self.spec.satisfies(
|
if self.spec.satisfies("@1.8.22:1.8," "1.10.6:1.10," "1.12.0:1.12" "+fortran+mpi"):
|
||||||
"@1.8.22:1.8," "1.10.6:1.10," "1.12.0:1.12," "develop:" "+fortran+mpi"
|
|
||||||
):
|
|
||||||
with working_dir(self.prefix.bin):
|
with working_dir(self.prefix.bin):
|
||||||
# No try/except here, fix the condition above instead:
|
# No try/except here, fix the condition above instead:
|
||||||
symlink("h5fc", "h5pfc")
|
symlink("h5fc", "h5pfc")
|
||||||
|
Loading…
Reference in New Issue
Block a user