tau %oneapi: -Wno-error=implicit-function-declaration (#37829)

This commit is contained in:
eugeneswalker 2023-05-22 12:13:02 -05:00 committed by GitHub
parent ab3f705019
commit 436f077482
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -144,6 +144,9 @@ class Tau(Package):
def set_compiler_options(self, spec):
useropt = ["-O2 -g", self.rpath_args]
if self.spec.satisfies("%oneapi"):
useropt.append("-Wno-error=implicit-function-declaration")
##########
# Selecting a compiler with TAU configure is quite tricky:
# 1 - compilers are mapped to a given set of strings