diff options
author | Michael Kuhn <michael.kuhn@informatik.uni-hamburg.de> | 2020-05-11 19:55:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-11 12:55:36 -0500 |
commit | 5ed5c55ebdc5188d4578169475059b4482580e66 (patch) | |
tree | 9b4f6fcc2f22c9a7c2ed562413a5dc08a1e1f602 | |
parent | 43c9ad34216a282a50cc1bbd107949c24db38835 (diff) | |
download | spack-5ed5c55ebdc5188d4578169475059b4482580e66.tar.gz spack-5ed5c55ebdc5188d4578169475059b4482580e66.tar.bz2 spack-5ed5c55ebdc5188d4578169475059b4482580e66.tar.xz spack-5ed5c55ebdc5188d4578169475059b4482580e66.zip |
mpich: Fix build with gcc@10: (#16568)
-rw-r--r-- | var/spack/repos/builtin/packages/mpich/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py index 878abc6b5c..7b8c807cce 100644 --- a/var/spack/repos/builtin/packages/mpich/package.py +++ b/var/spack/repos/builtin/packages/mpich/package.py @@ -156,6 +156,10 @@ spack package at this time.''', env.unset('F90') env.unset('F90FLAGS') + # https://bugzilla.redhat.com/show_bug.cgi?id=1795817 + if self.spec.satisfies('%gcc@10:'): + env.set('FFLAGS', '-fallow-argument-mismatch') + def setup_dependent_build_environment(self, env, dependent_spec): # On Cray, the regular compiler wrappers *are* the MPI wrappers. if 'platform=cray' in self.spec: |