diff options
author | Erik Schnetter <schnetter@gmail.com> | 2016-07-20 11:25:46 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2016-07-20 11:25:46 -0400 |
commit | 69e36c98219cdf3eda9de44c4205c4de0f212fd9 (patch) | |
tree | 870b8edaaa6bae3dacf83f838b30ae2c30ab1330 | |
parent | 94df1b801a70b72f86e4a4a30c5bfeb018a8c5d2 (diff) | |
download | spack-69e36c98219cdf3eda9de44c4205c4de0f212fd9.tar.gz spack-69e36c98219cdf3eda9de44c4205c4de0f212fd9.tar.bz2 spack-69e36c98219cdf3eda9de44c4205c4de0f212fd9.tar.xz spack-69e36c98219cdf3eda9de44c4205c4de0f212fd9.zip |
Ensure that per-4.4.1 NetCDF doesn't use HDF5 1.10
-rw-r--r-- | var/spack/repos/builtin/packages/netcdf/package.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/netcdf/package.py b/var/spack/repos/builtin/packages/netcdf/package.py index 13d6bc6944..ad4ee59640 100644 --- a/var/spack/repos/builtin/packages/netcdf/package.py +++ b/var/spack/repos/builtin/packages/netcdf/package.py @@ -48,8 +48,10 @@ class Netcdf(Package): # Required for NetCDF-4 support depends_on("zlib") - depends_on("hdf5+mpi", when='+mpi') - depends_on("hdf5~mpi", when='~mpi') + depends_on('hdf5@:1.8+mpi', when='@:4.4.0+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): # Environment variables |