Commit Graph

28 Commits (0dea23e5d615da6791a6b3fafddb71831c1ad66d)

Author SHA1 Message Date
Jack Nagel 15334278d8 gfortran: use test DSL 2013-02-01 23:38:51 -06:00
Jack Nagel a24daa82cf gfortran: conventions 2012-12-24 10:57:50 -06:00
Francisco Souza bd6fdbeb0c gfortran: remove dependency on nonexistent "expect" formula
expect is already installed on Mac OS, and there is no such formula.

Closes Homebrew/homebrew#16730.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-24 10:53:25 -06:00
Mike McQuaid 2af3ca00de gfortran: add bottles. 2012-11-18 21:13:28 +00:00
Samuel John 99b1f9caff gfortran: 4.7, builds from source.
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.

Closes Homebrew/homebrew#15941.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-11-18 21:13:28 +00:00
Jack Nagel 1b25e041a0 gfortran: remove skip_clean :all
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-13 12:55:41 -05:00
Jack Nagel 018dabf584 Avoid referencing MACOS_VERSION directly
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-04 18:15:31 -05:00
Jack Nagel a076df83bc Use new Xcode module
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-25 12:04:41 -05:00
knarz 1c61a1f935 gfortran: allow (experimental) installs on Mountain Lion
Closes Homebrew/homebrew#13340.
Closes Homebrew/homebrew#13555.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-07-23 19:47:44 -07:00
Charlie Sharpsteen 631daffb6e GFortran: Add comment explaining homepage
Closes Homebrew/homebrew#9980.
2012-02-07 21:06:30 -08:00
Charlie Sharpsteen 7f000f0897 GFortran: Re-organize and fix installation logic
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.

Closes Homebrew/homebrew#9398.
Fixes Homebrew/homebrew#9395.
Fixes Homebrew/homebrew#9043.
2012-01-06 13:10:01 -08:00
Gregg Lind b2073a8d2f gfortran: fix typo fix in caveats
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-29 18:27:16 -08:00
Charlie Sharpsteen 028289bf87 GFortran: Update for XCode 4.2+
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.

Fixes Homebrew/homebrew#8173.
2011-11-29 16:13:25 -08:00
Charlie Sharpsteen c83c82de85 GFortran: Properly quote paths in xar system call
Fixes Homebrew/homebrew#8871.
2011-11-29 13:43:28 -08:00
Charlie Sharpsteen 7e0d57779e GFortran: Update for use with Lion
This update is mandatory for all Lion users and requires XCode 4.1.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-07-25 09:28:48 -07:00
Adam Vandenberg 121e4f8614 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Michael Wall 7e925db15b gfortan - update version check for Xcode 4.
Update gfortran checks for XCode 4 (gcc build 5666).

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-13 10:57:27 -07:00
Charlie Sharpsteen 5c0fab1dd9 Update gfortan caveats
Caveats changed to suggest use of `ENV.fortran` over
`depends_on 'gfortran'`.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-12 13:30:05 -08:00
Adam Vandenberg 01615b9484 Fix gfortran 2011-03-12 11:55:11 -08:00
Adam Vandenberg 4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Mathias Laurin ef4f2c9d45 Add missing equal sign (=) to setup instructions
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2010-12-30 10:41:27 +00:00
Charlie Sharpsteen 50ec6dc364 Updated gfortran brew to use 5664 binaries
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
2010-08-27 14:01:29 +02:00
Charlie Sharpsteen 81ab3ee618 Updated gfortran to install for XCode 3.2.3 without force
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>
2010-08-04 20:52:01 -07:00
Adam Vandenberg 7314314ec2 Allow gfortran to install on Xcode 3.2.3 - experimental
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.
2010-07-29 12:48:40 -07:00
Martin Kühl cc9361b2a3 Make `gfortran` only report errors on install.
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>
2010-07-16 17:40:38 -07:00
Adam Vandenberg 57189d3f97 Hotfix gfortran to not break Homebrew when user doesnt have a compatible Xcode installed. 2010-07-16 11:50:52 -07:00
Adam Vandenberg 56cae725c7 Update fortran to homebrew style 2010-07-16 09:09:57 -07:00
Charlie Sharpsteen 3df513b7fd New formula for installing gfortran 4.2.4 binaries
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>
2010-07-16 09:09:57 -07:00