summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorAlex Richert <alexrichert@users.noreply.github.com>2024-02-13 10:03:46 -0800
committerGitHub <noreply@github.com>2024-02-13 11:03:46 -0700
commite0304bf509fdb8ecf4c2f5e39e798e219594eabe (patch)
treebeee9848318a3dcd92346250f160e1fc05f4c634 /var
parent0e2a9fe26a8fa4163a8523587789d79c94f0457a (diff)
downloadspack-e0304bf509fdb8ecf4c2f5e39e798e219594eabe.tar.gz
spack-e0304bf509fdb8ecf4c2f5e39e798e219594eabe.tar.bz2
spack-e0304bf509fdb8ecf4c2f5e39e798e219594eabe.tar.xz
spack-e0304bf509fdb8ecf4c2f5e39e798e219594eabe.zip
pdt: add aocc support (#42634)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/pdt/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/pdt/package.py b/var/spack/repos/builtin/packages/pdt/package.py
index 9fcf567174..bb414c0bf5 100644
--- a/var/spack/repos/builtin/packages/pdt/package.py
+++ b/var/spack/repos/builtin/packages/pdt/package.py
@@ -62,7 +62,7 @@ class Pdt(AutotoolsPackage):
options.append("-pgCC")
elif self.compiler.name == "gcc":
options.append("-GNU")
- elif self.compiler.name == "clang" or self.compiler.name == "apple-clang":
+ elif self.compiler.name in ["clang", "apple-clang", "aocc"]:
options.append("-clang")
elif self.compiler.name == "cce":
options.append("-CC")