Ensure that per-4.4.1 NetCDF doesn't use HDF5 1.10
This commit is contained in:
parent
94df1b801a
commit
69e36c9821
1 changed files with 4 additions and 2 deletions
|
@ -48,8 +48,10 @@ class Netcdf(Package):
|
||||||
|
|
||||||
# Required for NetCDF-4 support
|
# Required for NetCDF-4 support
|
||||||
depends_on("zlib")
|
depends_on("zlib")
|
||||||
depends_on("hdf5+mpi", when='+mpi')
|
depends_on('hdf5@:1.8+mpi', when='@:4.4.0+mpi')
|
||||||
depends_on("hdf5~mpi", when='~mpi')
|
depends_on('hdf5+mpi', when='@4.4.1:+mpi')
|
||||||
|
depends_on('hdf5@:1.8~mpi', when='@:4.4.0~mpi')
|
||||||
|
depends_on('hdf5~mpi', when='@4.4.1:~mpi')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
# Environment variables
|
# Environment variables
|
||||||
|
|
Loading…
Reference in a new issue