py-scipy: set F90 for all compilers (#19818)

* set F90 when compiling with Intel

* set F90 for all compilers

Co-authored-by: Daryl W. Grunau <dwg@lanl.gov>
This commit is contained in:
Daryl W. Grunau 2020-11-10 09:52:54 -07:00 committed by GitHub
parent 2913903e6a
commit f7f4171d4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,6 +78,9 @@ class PyScipy(PythonPackage):
sha256='5433f60831cb554101520a8f8871ac5a32c95f7a971ccd68b69049535b106780', when='@1.2:1.5.3')
def setup_build_environment(self, env):
# https://github.com/scipy/scipy/issues/9080
env.set('F90', spack_fc)
# https://github.com/scipy/scipy/issues/11611
if self.spec.satisfies('@:1.4 %gcc@10:'):
env.set('FFLAGS', '-fallow-argument-mismatch')