Add hdf5 version 1.14.3. (#40786)
Add hdf5 version 1.10.11. Update version condition for adding h5pfc->h5fc symlink. File h5pfc exists in versions 1.10.10 and 1.10.22.
This commit is contained in:
parent
f228c7cbcc
commit
4ef433b64d
1 changed files with 12 additions and 2 deletions
|
@ -20,7 +20,7 @@ class Hdf5(CMakePackage):
|
|||
"""
|
||||
|
||||
homepage = "https://portal.hdfgroup.org"
|
||||
url = "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.8/src/hdf5-1.10.8.tar.gz"
|
||||
url = "https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.14/hdf5-1.14.3/src/hdf5-1.14.3.tar.gz"
|
||||
list_url = "https://support.hdfgroup.org/ftp/HDF5/releases"
|
||||
list_depth = 3
|
||||
git = "https://github.com/HDFGroup/hdf5.git"
|
||||
|
@ -41,6 +41,11 @@ class Hdf5(CMakePackage):
|
|||
|
||||
# Odd versions are considered experimental releases
|
||||
# Even versions are maintenance versions
|
||||
version(
|
||||
"1.14.3",
|
||||
sha256="09cdb287aa7a89148c1638dd20891fdbae08102cf433ef128fd345338aa237c7",
|
||||
preferred=True,
|
||||
)
|
||||
version(
|
||||
"1.14.2",
|
||||
sha256="1c342e634008284a8c2794c8e7608e2eaf26d01d445fb3dfd7f33cb2fb51ac53",
|
||||
|
@ -71,6 +76,11 @@ class Hdf5(CMakePackage):
|
|||
sha256="a62dcb276658cb78e6795dd29bf926ed7a9bc4edf6e77025cd2c689a8f97c17a",
|
||||
preferred=True,
|
||||
)
|
||||
version(
|
||||
"1.10.11",
|
||||
sha256="341684c5c0976b8c7e6951735a400275a90693604464cac73e9f323c696fc79c",
|
||||
preferred=True,
|
||||
)
|
||||
version(
|
||||
"1.10.10",
|
||||
sha256="a6877ab7bd5d769d2d68618fdb54beb50263dcc2a8c157fe7e2186925cdb02db",
|
||||
|
@ -657,7 +667,7 @@ def ensure_parallel_compiler_wrappers(self):
|
|||
# 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
|
||||
# MPI support are enabled (only for versions that generate 'h5fc').
|
||||
if self.spec.satisfies("@1.8.22:1.8," "1.10.6:1.10," "1.12.0:1.12" "+fortran+mpi"):
|
||||
if self.spec.satisfies("@1.8.22:1.8," "1.10.6:1.10.9," "1.12.0:1.12" "+fortran+mpi"):
|
||||
with working_dir(self.prefix.bin):
|
||||
# No try/except here, fix the condition above instead:
|
||||
symlink("h5fc", "h5pfc")
|
||||
|
|
Loading…
Reference in a new issue