Merge pull request #695 from mathstuf/osx-mpich
mpich: disable fortran without a fortran compiler
This commit is contained in:
commit
67ec7ee5e9
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue