mpich: disable fortran without a fortran compiler
This commit is contained in:
		@@ -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")
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user