summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2024-11-20 17:56:19 -0500
committerGitHub <noreply@github.com>2024-11-20 14:56:19 -0800
commit453af4b9f7b63be3e5db4c74984e5a540b0f1c1d (patch)
tree84f74606cf2c4779d8cf74fb6138a7f073d987fc
parent29cf1559cc4a92051b58f43b070e7ca90e76000c (diff)
downloadspack-453af4b9f7b63be3e5db4c74984e5a540b0f1c1d.tar.gz
spack-453af4b9f7b63be3e5db4c74984e5a540b0f1c1d.tar.bz2
spack-453af4b9f7b63be3e5db4c74984e5a540b0f1c1d.tar.xz
spack-453af4b9f7b63be3e5db4c74984e5a540b0f1c1d.zip
hdf5-vol-cache %cce: add -Wno-error=incompatible-function-pointer-types (#47698)
-rw-r--r--var/spack/repos/builtin/packages/hdf5-vol-cache/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5-vol-cache/package.py b/var/spack/repos/builtin/packages/hdf5-vol-cache/package.py
index d6882f3d28..8a9cf389ff 100644
--- a/var/spack/repos/builtin/packages/hdf5-vol-cache/package.py
+++ b/var/spack/repos/builtin/packages/hdf5-vol-cache/package.py
@@ -27,7 +27,7 @@ class Hdf5VolCache(CMakePackage):
def flag_handler(self, name, flags):
if name == "cflags":
- if self.spec.satisfies("%oneapi"):
+ if self.spec.satisfies("%oneapi") or self.spec.satisfies("%cce"):
flags.append("-Wno-error=incompatible-function-pointer-types")
return (flags, None, None)