diff options
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/py-scipy/package.py | 2 |
1 files changed, 2 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 e08bbdc0c7..35ed555845 100644 --- a/var/spack/repos/builtin/packages/py-scipy/package.py +++ b/var/spack/repos/builtin/packages/py-scipy/package.py @@ -111,6 +111,8 @@ class PyScipy(PythonPackage): # https://github.com/scipy/scipy/issues/11611 if self.spec.satisfies('@:1.4 %gcc@10:'): env.set('FFLAGS', '-fallow-argument-mismatch') + if self.spec.satisfies('^py-numpy@1.16:1.17'): + env.set('NPY_DISTUTILS_APPEND_FLAGS', '1') # Pick up Blas/Lapack from numpy self.spec['py-numpy'].package.setup_build_environment(env) |