| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  | require "requirement" | 
					
						
							| 
									
										
										
										
											2013-06-23 18:35:20 -07:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-15 09:56:04 +01:00
										 |  |  | class FortranRequirement < Requirement | 
					
						
							| 
									
										
										
										
											2013-06-23 18:35:20 -07:00
										 |  |  |   fatal true | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-08-03 13:09:07 +01:00
										 |  |  |   default_formula "gcc" | 
					
						
							| 
									
										
										
										
											2013-06-23 18:35:20 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  |   env { ENV.fortran } | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-09-17 15:32:44 +01:00
										 |  |  |   satisfy build_env: false do | 
					
						
							| 
									
										
										
										
											2015-04-07 16:37:22 -07:00
										 |  |  |     which(ENV["FC"] || "gfortran") | 
					
						
							| 
									
										
										
										
											2013-06-23 18:35:20 -07:00
										 |  |  |   end | 
					
						
							|  |  |  | end |