diff options
-rw-r--r-- | var/spack/repos/builtin/packages/py-scipy/package.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-scipy/package.py b/var/spack/repos/builtin/packages/py-scipy/package.py index 5cbd2438f7..7baf0bbb38 100644 --- a/var/spack/repos/builtin/packages/py-scipy/package.py +++ b/var/spack/repos/builtin/packages/py-scipy/package.py @@ -65,6 +65,11 @@ class PyScipy(PythonPackage): depends_on('blas') depends_on('lapack') + def setup_build_environment(self, env): + # https://github.com/scipy/scipy/issues/11611 + if self.spec.satisfies('@:1.4 %gcc@10:'): + env.set('FFLAGS', '-fallow-argument-mismatch') + def build_args(self, spec, prefix): args = [] |