unifyfs: Apply workaround for oneAPI compiler for problem with build (#48962)
This commit is contained in:
parent
a8e37ccbbb
commit
02c2516e88
@ -112,10 +112,12 @@ def setup_build_environment(self, env):
|
||||
if self.spec.satisfies("%oneapi"):
|
||||
env.append_flags("CFLAGS", "-Wno-unused-function")
|
||||
|
||||
@when("%cce@11.0.3:")
|
||||
def patch(self):
|
||||
if self.spec.satisfies("%cce@11.0.3:"):
|
||||
filter_file("-Werror", "", "client/src/Makefile.in")
|
||||
filter_file("-Werror", "", "client/src/Makefile.am")
|
||||
if self.spec.satisfies("@2.0 %oneapi@2025:"):
|
||||
filter_file("static int asprintf", "int asprintf", "examples/src/testutil.c")
|
||||
|
||||
@when("@develop")
|
||||
def autoreconf(self, spec, prefix):
|
||||
|
Loading…
Reference in New Issue
Block a user