arpack-ng %oneapi: add -Wno-implicit-function-declaration (#32080)
This commit is contained in:
parent
4d31b6bf8b
commit
53e41ca9f1
@ -81,6 +81,14 @@ class ArpackNg(Package):
|
|||||||
|
|
||||||
depends_on("mpi", when="+mpi")
|
depends_on("mpi", when="+mpi")
|
||||||
|
|
||||||
|
def flag_handler(self, name, flags):
|
||||||
|
spec = self.spec
|
||||||
|
iflags = []
|
||||||
|
if name == "cflags":
|
||||||
|
if spec.satisfies("%oneapi"):
|
||||||
|
iflags.append("-Wno-error=implicit-function-declaration")
|
||||||
|
return (iflags, None, None)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def libs(self):
|
def libs(self):
|
||||||
# TODO: do we need spec['arpack-ng:parallel'].libs ?
|
# TODO: do we need spec['arpack-ng:parallel'].libs ?
|
||||||
|
Loading…
Reference in New Issue
Block a user