mpich: Apply fallow-argument-mismatch parameter with clang (#23748)

This commit is contained in:
David Hughes 2021-05-19 02:46:51 -04:00 committed by GitHub
parent f407539abb
commit 1a8d18a2d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -311,6 +311,8 @@ def setup_build_environment(self, env):
# Same fix but for macOS - avoids issue #17934
if self.spec.satisfies('%apple-clang@11:'):
env.set('FFLAGS', '-fallow-argument-mismatch')
if self.spec.satisfies('%clang@11:'):
env.set('FFLAGS', '-fallow-argument-mismatch')
def setup_run_environment(self, env):
# Because MPI implementations provide compilers, they have to add to