rempi %oneapi: -Wno-error=implicit-function-declaration (#33654)
This commit is contained in:
parent
328addd43d
commit
353e31e72a
@ -23,6 +23,13 @@ class Rempi(AutotoolsPackage):
|
||||
depends_on("libtool", type="build")
|
||||
depends_on("libpciaccess", type="link")
|
||||
|
||||
def flag_handler(self, name, flags):
|
||||
iflags = []
|
||||
if name == "cflags":
|
||||
if self.spec.satisfies("%oneapi@2022.2.0:"):
|
||||
iflags.append("-Wno-error=implicit-function-declaration")
|
||||
return (iflags, None, None)
|
||||
|
||||
def setup_build_environment(self, env):
|
||||
if self.spec.satisfies("%cce"):
|
||||
env.set("MPICC", "mpicc")
|
||||
|
Loading…
Reference in New Issue
Block a user