mpifileutils%cce: append cflags -Wno-error=implicit-function-declaration (#47700)

This commit is contained in:
eugeneswalker 2024-11-20 16:19:05 -05:00 committed by GitHub
parent 4f9aa6004b
commit a9b3e1670b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ class Mpifileutils(CMakePackage):
def flag_handler(self, name, flags):
spec = self.spec
if name == "cflags":
if spec.satisfies("%oneapi"):
if spec.satisfies("%oneapi") or spec.satisfies("%cce"):
flags.append("-Wno-error=implicit-function-declaration")
return (flags, None, None)