superlu-dist %oneapi: add -Wno-implicit-function-declaration (#32081)
This commit is contained in:
parent
e250371ee2
commit
a56e779071
1 changed files with 2 additions and 0 deletions
|
@ -129,6 +129,8 @@ def flag_handler(self, name, flags):
|
|||
flags.append(self.compiler.cxx11_flag)
|
||||
if name == "cflags" and "%pgi" not in self.spec:
|
||||
flags.append("-std=c99")
|
||||
if name == "cflags" and self.spec.satisfies("%oneapi"):
|
||||
flags.append("-Wno-error=implicit-function-declaration")
|
||||
return (None, None, flags)
|
||||
|
||||
examples_src_dir = "EXAMPLE"
|
||||
|
|
Loading…
Reference in a new issue