gmsh %oneapi: add cflag: -Wno-error=implicit-function-declaration (#39476)
This commit is contained in:
parent
fb598baa53
commit
54ea860b37
@ -107,6 +107,12 @@ class Gmsh(CMakePackage):
|
|||||||
conflicts("+oce", when="^gmsh@4.10:4.10.3")
|
conflicts("+oce", when="^gmsh@4.10:4.10.3")
|
||||||
conflicts("+metis", when="+external", msg="External Metis cannot build with GMSH")
|
conflicts("+metis", when="+external", msg="External Metis cannot build with GMSH")
|
||||||
|
|
||||||
|
def flag_handler(self, name, flags):
|
||||||
|
if name == "cflags":
|
||||||
|
if self.spec.satisfies("%oneapi"):
|
||||||
|
flags.append("-Wno-error=implicit-function-declaration")
|
||||||
|
return (flags, None, None)
|
||||||
|
|
||||||
def cmake_args(self):
|
def cmake_args(self):
|
||||||
spec = self.spec
|
spec = self.spec
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user