summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2024-11-20 16:19:05 -0500
committerGitHub <noreply@github.com>2024-11-20 14:19:05 -0700
commita9b3e1670b245a60b621d142baec92776dd408d0 (patch)
tree23e6ab9b39bcd66b47db5b26150545eb035cf16e
parent4f9aa6004b4324bc819fcb25f4ed9acaa6cf11bc (diff)
downloadspack-a9b3e1670b245a60b621d142baec92776dd408d0.tar.gz
spack-a9b3e1670b245a60b621d142baec92776dd408d0.tar.bz2
spack-a9b3e1670b245a60b621d142baec92776dd408d0.tar.xz
spack-a9b3e1670b245a60b621d142baec92776dd408d0.zip
mpifileutils%cce: append cflags -Wno-error=implicit-function-declaration (#47700)
-rw-r--r--var/spack/repos/builtin/packages/mpifileutils/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/mpifileutils/package.py b/var/spack/repos/builtin/packages/mpifileutils/package.py
index ffe5e9e9e7..b95440848d 100644
--- a/var/spack/repos/builtin/packages/mpifileutils/package.py
+++ b/var/spack/repos/builtin/packages/mpifileutils/package.py
@@ -66,7 +66,7 @@ class Mpifileutils(CMakePackage):
def flag_handler(self, name, flags):
spec = self.spec
if name == "cflags":
- if spec.satisfies("%oneapi"):
+ if spec.satisfies("%oneapi") or spec.satisfies("%cce"):
flags.append("-Wno-error=implicit-function-declaration")
return (flags, None, None)