mpich: disable fortran without a fortran compiler
This commit is contained in:
parent
4bc6ace201
commit
f1a0619821
1 changed files with 3 additions and 0 deletions
|
@ -78,6 +78,9 @@ def install(self, spec, prefix):
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue