hdf5-vol-cache %cce: add -Wno-error=incompatible-function-pointer-types (#47698)

This commit is contained in:
eugeneswalker 2024-11-20 17:56:19 -05:00 committed by GitHub
parent 29cf1559cc
commit 453af4b9f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)