hdf5-vol-cache %oneapi: cflags: add -Wno-error=incompatible-function-pointer-types (#39453)
This commit is contained in:
parent
00f8f5898a
commit
86485dea14
1 changed files with 6 additions and 0 deletions
|
@ -20,6 +20,12 @@ class Hdf5VolCache(CMakePackage):
|
|||
depends_on("hdf5@1.14: +mpi +threadsafe")
|
||||
depends_on("hdf5-vol-async")
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
if name == "cflags":
|
||||
if self.spec.satisfies("%oneapi"):
|
||||
flags.append("-Wno-error=incompatible-function-pointer-types")
|
||||
return (flags, None, None)
|
||||
|
||||
def setup_run_environment(self, env):
|
||||
env.prepend_path("HDF5_PLUGIN_PATH", self.spec.prefix.lib)
|
||||
|
||||
|
|
Loading…
Reference in a new issue