Merge pull request #695 from mathstuf/osx-mpich

mpich: disable fortran without a fortran compiler
This commit is contained in:
Todd Gamblin 2016-03-30 14:32:47 -07:00
commit 67ec7ee5e9

View file

@ -78,6 +78,9 @@ def install(self, spec, prefix):
if not self.compiler.fc: if not self.compiler.fc:
config_args.append("--disable-fc") config_args.append("--disable-fc")
if not self.compiler.fc and not self.compiler.f77:
config_args.append("--disable-fortran")
configure(*config_args) configure(*config_args)
make() make()
make("install") make("install")