summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorPhilipp Edelmann <pedelmann@lanl.gov>2023-02-14 07:55:20 -0700
committerGitHub <noreply@github.com>2023-02-14 09:55:20 -0500
commite75a07d1558e1271e561b8feddd2de2e02fd6cdc (patch)
treed52afb307c60e6afe41a9bb539fc554a2cf6b647 /var
parent9b3c4e0696a9f90ac0870c32b0ef9dad1b529583 (diff)
downloadspack-e75a07d1558e1271e561b8feddd2de2e02fd6cdc.tar.gz
spack-e75a07d1558e1271e561b8feddd2de2e02fd6cdc.tar.bz2
spack-e75a07d1558e1271e561b8feddd2de2e02fd6cdc.tar.xz
spack-e75a07d1558e1271e561b8feddd2de2e02fd6cdc.zip
fix intel-tbb build with rocmcc (#35472)
rocmcc is a clang compiler. Pass that information on to the TBB build system.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/intel-tbb/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/intel-tbb/package.py b/var/spack/repos/builtin/packages/intel-tbb/package.py
index ea0edf1b9f..399c2569ba 100644
--- a/var/spack/repos/builtin/packages/intel-tbb/package.py
+++ b/var/spack/repos/builtin/packages/intel-tbb/package.py
@@ -255,7 +255,7 @@ class MakefileBuilder(spack.build_systems.makefile.MakefileBuilder, SetupEnviron
#
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"
elif spec.satisfies("%intel"):
tbb_compiler = "icc"