diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/med/package.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/med/package.py b/var/spack/repos/builtin/packages/med/package.py index 3b416c0274..c4be8dfbea 100644 --- a/var/spack/repos/builtin/packages/med/package.py +++ b/var/spack/repos/builtin/packages/med/package.py @@ -15,15 +15,17 @@ class Med(CMakePackage): maintainers = ['likask'] + version('4.0.0', sha256='a474e90b5882ce69c5e9f66f6359c53b8b73eb448c5f631fa96e8cd2c14df004') version('3.2.0', sha256='d52e9a1bdd10f31aa154c34a5799b48d4266dc6b4a5ee05a9ceda525f2c6c138') variant('api23', default=True, description='Enable API2.3') depends_on('mpi') - depends_on('hdf5@:1.8.19+mpi') + depends_on('hdf5@:1.8.19+mpi', when='@3.2.0') + depends_on('hdf5@:1.10.2+mpi', when='@4.0.0') # C++11 requires a space between literal and identifier - patch('add_space.patch') + patch('add_space.patch', when='@3.2.0') # FIXME This is minimal installation. |