Skip to content

Commit

Permalink
mpifileutils%cce: append cflags -Wno-error=implicit-function-declarat…
Browse files Browse the repository at this point in the history
…ion (spack#47700)
  • Loading branch information
eugeneswalker authored Nov 20, 2024
1 parent 4f9aa60 commit a9b3e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion var/spack/repos/builtin/packages/mpifileutils/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a9b3e16

Please sign in to comment.