scorep: modify configure flags for Cray platforms (#32201)
This commit is contained in:
parent
7f4799a4a2
commit
3779e645b8
@ -99,7 +99,8 @@ def configure_args(self):
|
|||||||
]
|
]
|
||||||
|
|
||||||
cname = spec.compiler.name
|
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"):
|
if self.version >= Version("4.0"):
|
||||||
config_args.append("--with-cubew=%s" % spec["cubew"].prefix.bin)
|
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.append("--with-libunwind=%s" % spec["libunwind"].prefix)
|
||||||
|
|
||||||
config_args += self.with_or_without("shmem")
|
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"):
|
if spec.satisfies("^intel-mpi"):
|
||||||
config_args.append("--with-mpi=intel3")
|
config_args.append("--with-mpi=intel3")
|
||||||
|
Loading…
Reference in New Issue
Block a user