Skip to content

Commit

Permalink
pdt: add aocc support (spack#42634)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrichert authored Feb 13, 2024
1 parent 0e2a9fe commit e0304bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/pdt/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def configure(self, spec, prefix):
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")
Expand Down

0 comments on commit e0304bf

Please sign in to comment.