mpich: Apply fallow-argument-mismatch parameter with clang (#23748)
This commit is contained in:
parent
f407539abb
commit
1a8d18a2d3
@ -311,6 +311,8 @@ def setup_build_environment(self, env):
|
|||||||
# Same fix but for macOS - avoids issue #17934
|
# Same fix but for macOS - avoids issue #17934
|
||||||
if self.spec.satisfies('%apple-clang@11:'):
|
if self.spec.satisfies('%apple-clang@11:'):
|
||||||
env.set('FFLAGS', '-fallow-argument-mismatch')
|
env.set('FFLAGS', '-fallow-argument-mismatch')
|
||||||
|
if self.spec.satisfies('%clang@11:'):
|
||||||
|
env.set('FFLAGS', '-fallow-argument-mismatch')
|
||||||
|
|
||||||
def setup_run_environment(self, env):
|
def setup_run_environment(self, env):
|
||||||
# Because MPI implementations provide compilers, they have to add to
|
# Because MPI implementations provide compilers, they have to add to
|
||||||
|
Loading…
Reference in New Issue
Block a user