diff options
author | David Hughes <solomaxwell6@gmail.com> | 2021-05-19 02:46:51 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-19 06:46:51 +0000 |
commit | 1a8d18a2d3d32f637a261b1c79c60e45787a13e1 (patch) | |
tree | 50b871e75ed41c9886def1b85cdba7ea7d638026 | |
parent | f407539abb9d7e6b4566d731b84fc86f9558b02d (diff) | |
download | spack-1a8d18a2d3d32f637a261b1c79c60e45787a13e1.tar.gz spack-1a8d18a2d3d32f637a261b1c79c60e45787a13e1.tar.bz2 spack-1a8d18a2d3d32f637a261b1c79c60e45787a13e1.tar.xz spack-1a8d18a2d3d32f637a261b1c79c60e45787a13e1.zip |
mpich: Apply fallow-argument-mismatch parameter with clang (#23748)
-rw-r--r-- | var/spack/repos/builtin/packages/mpich/package.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py index b4d132fe73..4d6e9699e7 100644 --- a/var/spack/repos/builtin/packages/mpich/package.py +++ b/var/spack/repos/builtin/packages/mpich/package.py @@ -311,6 +311,8 @@ spack package at this time.''', # 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 |