scorep: modify configure flags for Cray platforms (#32201)

This commit is contained in:
luker 2022-08-30 02:25:35 -05:00 committed by GitHub
parent 7f4799a4a2
commit 3779e645b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,8 @@ def configure_args(self):
]
cname = spec.compiler.name
config_args.append("--with-nocross-compiler-suite={0}".format(cname))
if not spec.satisfies("platform=cray"):
config_args.append("--with-nocross-compiler-suite={0}".format(cname))
if self.version >= Version("4.0"):
config_args.append("--with-cubew=%s" % spec["cubew"].prefix.bin)
@ -118,7 +119,8 @@ def configure_args(self):
config_args.append("--with-libunwind=%s" % spec["libunwind"].prefix)
config_args += self.with_or_without("shmem")
config_args += self.with_or_without("mpi")
if not spec.satisfies("platform=cray"):
config_args += self.with_or_without("mpi")
if spec.satisfies("^intel-mpi"):
config_args.append("--with-mpi=intel3")