summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@informatik.uni-hamburg.de>2020-05-17 03:55:20 +0200
committerGitHub <noreply@github.com>2020-05-16 20:55:20 -0500
commit41907639c4c06a2509feed98a69a38dee76e3b25 (patch)
tree3595a911b722da2781f957a8e98f3a55dbca16af /var
parentbabfd144ad143dedd6eb855225d7255d3f4ab381 (diff)
downloadspack-41907639c4c06a2509feed98a69a38dee76e3b25.tar.gz
spack-41907639c4c06a2509feed98a69a38dee76e3b25.tar.bz2
spack-41907639c4c06a2509feed98a69a38dee76e3b25.tar.xz
spack-41907639c4c06a2509feed98a69a38dee76e3b25.zip
py-scipy: Fix build with gcc@10: (#16687)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/py-scipy/package.py5
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 = []