silo %oneapi: add cflags: -Wno-error=int, -Wno-error=int-conversion (#39475)
This commit is contained in:
parent
b613bf3855
commit
4818b75814
@ -109,6 +109,9 @@ def flag_handler(self, name, flags):
|
||||
elif name == "fcflags":
|
||||
flags.append(self.compiler.fc_pic_flag)
|
||||
if name == "cflags" or name == "cxxflags":
|
||||
if spec.satisfies("%oneapi"):
|
||||
flags.append("-Wno-error=int")
|
||||
flags.append("-Wno-error=int-conversion")
|
||||
if "+hdf5" in spec:
|
||||
# @:4.10 can use up to the 1.10 API
|
||||
if "@:4.10" in spec:
|
||||
|
Loading…
Reference in New Issue
Block a user