fix intel-tbb build with rocmcc (#35472)
rocmcc is a clang compiler. Pass that information on to the TBB build system.
This commit is contained in:
parent
9b3c4e0696
commit
e75a07d155
@ -255,7 +255,7 @@ def build(self, pkg, spec, prefix):
|
|||||||
#
|
#
|
||||||
self.coerce_to_spack("build")
|
self.coerce_to_spack("build")
|
||||||
|
|
||||||
if spec.satisfies("%clang") or spec.satisfies("%apple-clang"):
|
if spec.satisfies("%clang") or spec.satisfies("%apple-clang") or spec.satisfies("%rocmcc"):
|
||||||
tbb_compiler = "clang"
|
tbb_compiler = "clang"
|
||||||
elif spec.satisfies("%intel"):
|
elif spec.satisfies("%intel"):
|
||||||
tbb_compiler = "icc"
|
tbb_compiler = "icc"
|
||||||
|
Loading…
Reference in New Issue
Block a user