Skip to content

Commit

Permalink
hdf5-vol-cache %cce: add -Wno-error=incompatible-function-pointer-typ…
Browse files Browse the repository at this point in the history
…es (spack#47698)
  • Loading branch information
eugeneswalker authored Nov 20, 2024
1 parent 29cf155 commit 453af4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/hdf5-vol-cache/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 453af4b

Please sign in to comment.