pdt: add aocc support (#42634)

This commit is contained in:
Alex Richert 2024-02-13 10:03:46 -08:00 committed by GitHub
parent 0e2a9fe26a
commit e0304bf509
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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")