mpich: fix constraints in provides directives (#24176)

This commit is contained in:
Harmen Stoppels 2021-06-07 17:16:56 +02:00 committed by GitHub
parent 057bf434ce
commit e12b030def
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -80,9 +80,11 @@ class Mpich(AutotoolsPackage):
description='Enable Argobots support') description='Enable Argobots support')
variant('fortran', default=True, description='Enable Fortran support') variant('fortran', default=True, description='Enable Fortran support')
provides('mpi') provides('mpi@:3.1')
provides('mpi@:3.0', when='@3:') provides('mpi@:3.0', when='@:3.1')
provides('mpi@:1.3', when='@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( filter_compiler_wrappers(
'mpicc', 'mpicxx', 'mpif77', 'mpif90', 'mpifort', relative_root='bin' 'mpicc', 'mpicxx', 'mpif77', 'mpif90', 'mpifort', relative_root='bin'