summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-06-07 17:16:56 +0200
committerGitHub <noreply@github.com>2021-06-07 09:16:56 -0600
commite12b030def9311dd5d01283afbed52eff7ec4f2c (patch)
tree68370bf1e3f0564be58e56dbb58e793f0b5a0d9c /var
parent057bf434ce3288124e03f022d01d74cd86df3abb (diff)
downloadspack-e12b030def9311dd5d01283afbed52eff7ec4f2c.tar.gz
spack-e12b030def9311dd5d01283afbed52eff7ec4f2c.tar.bz2
spack-e12b030def9311dd5d01283afbed52eff7ec4f2c.tar.xz
spack-e12b030def9311dd5d01283afbed52eff7ec4f2c.zip
mpich: fix constraints in provides directives (#24176)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/mpich/package.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py
index e6f6619baa..96e27bd41c 100644
--- a/var/spack/repos/builtin/packages/mpich/package.py
+++ b/var/spack/repos/builtin/packages/mpich/package.py
@@ -80,9 +80,11 @@ spack package at this time.''',
description='Enable Argobots support')
variant('fortran', default=True, description='Enable Fortran support')
- provides('mpi')
- provides('mpi@:3.0', when='@3:')
- provides('mpi@:1.3', when='@1:')
+ provides('mpi@:3.1')
+ provides('mpi@:3.0', when='@:3.1')
+ provides('mpi@:2.2', when='@:1.2')
+ provides('mpi@:2.1', when='@:1.1')
+ provides('mpi@:2.0', when='@:1.0')
filter_compiler_wrappers(
'mpicc', 'mpicxx', 'mpif77', 'mpif90', 'mpifort', relative_root='bin'