A modification of the gcc formula that builds gcc and rips of
everything except gfortran.
- For maintainers added the `--check` option to run
make check-fortran right after build.
- We have `brew test gfortran` now.
ClosesHomebrew/homebrew#15941.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Check for XCode >= 4.2 on Lion first before casing the GCC build in the install
section as this is the order in which the download section selects which Lion
binaries to fetch.
Without this change, a leftover `gcc-4.2` installation can fool the logic into
thinking the 5666-3 binaries were downloaded instead of the full GCC-4.2 suite.
This causes the wrong installation steps to be executed which leaves users
without some important symlinks.
ClosesHomebrew/homebrew#9398.
FixesHomebrew/homebrew#9395.
FixesHomebrew/homebrew#9043.
New builds of GFortran from r.research.att.com. The latest package installs all
of GCC, so we throw out all compilers other than GFortran after installation.
FixesHomebrew/homebrew#8173.
Binaries for XCode 3.2.3 (build 5664) have been released on:
http://r.research.att.com/tools
This change updates the gfortran brew to install these binaries for systems with
XCode 3.2.3 installed. Previously binaries for 3.2.2 (build 5659) were used
because they worked.
Signed-off-by: David Höppner <0xffea@gmail.com>
* white space, spell error
Most of the action in XCode 3.2.3 focused on changes to LLVM and Clang.
As a result, the build of Gfortran provided for XCode 3.2.2 passes the
fortran testsuite when installed alongside XCode 3.2.3.
The gfortran brew has been updated to install gfortran-3.2.2 for XCode
3.2.3 without the use of the --force argument.
The brew has also been modified to facilitate the inclusion of binaries
compiled against XCode 3.2.3 once they appear.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Do:
brew install --force gfortran
to install gfortran on Xcode 3.2.3, using support for 3.2.2.
This is unsupported, but R seemed to compile fine for me when
I tried this.
As is, the gfortran formula reports an Error when no compatible Xcode
version is available, but does so even in cases when it is neither
installed nor in the process of being installed. For example, `brew
outdated` reports the error, just because it needs to load the formula
to check its version.
This changeset delays the error message until someone tries to install
the formula. The version and URL are determined solely by checking the
OSX version.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This formula enables preliminary support for Fortran-based brews in the
Hombrew project by providing a Fortran compiler- specifically a build of
gfortran 4.2.4 that incorporates Apple's patches to GCC.
These gfortran 4.2.4 binaries were created to support the compilation of
Fortran code used by the R Project for statistical computing by Simon
Urbanek and are sourced from:
http://r.research.att.com/tools
The compilers are somewhat tied to specific versions of the XCode tool
chain. Therefore XCode version 3.1.4 is required on OS X 10.5.x and
XCode 3.2.2 is required on OS X 10.6.x for installation to take place.
Please read the caveats section of this brew for notes concerning the
creation of Fortran-based brews.
For more discussion concerning Fortran support in Homebrew see:
http://github.com/mxcl/homebrew/issues/issue/72
Signed-off-by: Adam Vandenberg <flangy@gmail.com>