openmpi: extend version range for cray flags (#28107)

Co-authored-by: mohan babu <mohbabul@amd.com>
This commit is contained in:
AMD Toolchain Support 2022-01-03 07:47:24 +05:30 committed by GitHub
parent 8fdb6e2b61
commit 71cb9fd9fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -685,7 +685,7 @@ def configure_args(self):
if 'fabrics=auto' not in spec: if 'fabrics=auto' not in spec:
config_args.extend(self.with_or_without('fabrics')) config_args.extend(self.with_or_without('fabrics'))
if spec.satisfies('@2.0.0'): if spec.satisfies('@2.0.0:'):
if 'fabrics=xpmem' in spec and 'platform=cray' in spec: if 'fabrics=xpmem' in spec and 'platform=cray' in spec:
config_args.append('--with-cray-xpmem') config_args.append('--with-cray-xpmem')
else: else: