diff options
author | Ben Boeckel <mathstuf@gmail.com> | 2016-03-30 17:19:29 -0400 |
---|---|---|
committer | Ben Boeckel <mathstuf@gmail.com> | 2016-03-30 17:19:29 -0400 |
commit | f1a0619821fc4c4aaa0a13b114ecaf8ca35b1ce9 (patch) | |
tree | 809b204f235aa3d632ce8b949d63c1a77d979ec7 /var | |
parent | 4bc6ace201fc682a9a681b73d1096a95edb48c64 (diff) | |
download | spack-f1a0619821fc4c4aaa0a13b114ecaf8ca35b1ce9.tar.gz spack-f1a0619821fc4c4aaa0a13b114ecaf8ca35b1ce9.tar.bz2 spack-f1a0619821fc4c4aaa0a13b114ecaf8ca35b1ce9.tar.xz spack-f1a0619821fc4c4aaa0a13b114ecaf8ca35b1ce9.zip |
mpich: disable fortran without a fortran compiler
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/mpich/package.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/mpich/package.py b/var/spack/repos/builtin/packages/mpich/package.py index b20dc8dd60..2d7955e08d 100644 --- a/var/spack/repos/builtin/packages/mpich/package.py +++ b/var/spack/repos/builtin/packages/mpich/package.py @@ -78,6 +78,9 @@ class Mpich(Package): if not self.compiler.fc: config_args.append("--disable-fc") + if not self.compiler.fc and not self.compiler.f77: + config_args.append("--disable-fortran") + configure(*config_args) make() make("install") |