summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/tau/package.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py
index 3e759814ea..8bea62ce9a 100644
--- a/var/spack/repos/builtin/packages/tau/package.py
+++ b/var/spack/repos/builtin/packages/tau/package.py
@@ -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