Skip to content
Snippets Groups Projects
Commit 38c1d250 authored by Jack Nagel's avatar Jack Nagel
Browse files

Remove unreachable branch in ENV.fortran

Now that this is handled by a Requirement with a default formula, this
code cannot be triggered under normal circumstances.

The advice given has now been moved to the Formula Cookbook on the wiki.
parent e805b863
No related branches found
No related tags found
No related merge requests found
...@@ -490,22 +490,6 @@ class << ENV ...@@ -490,22 +490,6 @@ class << ENV
HomebrewEnvExtension::FC_FLAG_VARS.each {|key| self[key] = cflags} HomebrewEnvExtension::FC_FLAG_VARS.each {|key| self[key] = cflags}
set_cpu_flags(HomebrewEnvExtension::FC_FLAG_VARS) set_cpu_flags(HomebrewEnvExtension::FC_FLAG_VARS)
else
onoe <<-EOS
This formula requires a fortran compiler, but we could not find one by
looking at the FC environment variable or searching your PATH for `gfortran`.
Please take one of the following actions:
- Decide to use the build of gfortran 4.2.x provided by Homebrew using
`brew install gfortran`
- Choose another Fortran compiler by setting the FC environment variable:
export FC=/path/to/some/fortran/compiler
Using an alternative compiler may produce more efficient code, but we will
not be able to provide support for build errors.
EOS
exit 1
end end
end end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment