diff options
-rw-r--r-- | var/spack/repos/builtin/packages/superlu-dist/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/superlu-dist/package.py b/var/spack/repos/builtin/packages/superlu-dist/package.py index ce3dd2f638..b87c506278 100644 --- a/var/spack/repos/builtin/packages/superlu-dist/package.py +++ b/var/spack/repos/builtin/packages/superlu-dist/package.py @@ -129,6 +129,8 @@ class SuperluDist(CMakePackage, CudaPackage, ROCmPackage): 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" |