Constrain __skip_rocmclang workaround in pika package (#32208)

This commit is contained in:
Mikael Simberg 2022-08-23 09:41:54 +02:00 committed by GitHub
parent abad24265e
commit 8b49790784
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -125,7 +125,7 @@ def cmake_args(self):
# HIP support requires compiling with hipcc # HIP support requires compiling with hipcc
if "+rocm" in self.spec: if "+rocm" in self.spec:
args += [self.define("CMAKE_CXX_COMPILER", self.spec["hip"].hipcc)] args += [self.define("CMAKE_CXX_COMPILER", self.spec["hip"].hipcc)]
if self.spec.satisfies("^cmake@3.21:"): if self.spec.satisfies("^cmake@3.21.0:3.21.2"):
args += [self.define("__skip_rocmclang", True)] args += [self.define("__skip_rocmclang", True)]
return args return args