Commit graph

61 commits

Author SHA1 Message Date
David Holm
f52da10708 ghc --devel 7.8.0-rc2
Closes Homebrew/homebrew#27234.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-16 11:19:21 -07:00
Adam Vandenberg
51121db190 ghc: put stable into a block 2014-03-08 14:34:42 -08:00
Adam Vandenberg
aee5c8d552 ghc: style cleanup 2014-03-08 14:34:41 -08:00
Adam Vandenberg
c756c7621a ghc: depend on gmp 2014-03-08 14:33:11 -08:00
Adam Vandenberg
9956814e78 ghc: move patches out of if block 2014-03-08 14:33:05 -08:00
Adam Vandenberg
ffea8cf5a5 ghc: replace unless with if 2014-03-08 14:32:56 -08:00
Adam Vandenberg
e235baa7f0 Revert "ghc --devel 7.8.0-rc2"
This reverts commit aede6c7a47df9405afb29e823237ed14cb8a0759.

env cannot be used in a block
2014-03-06 21:59:47 -08:00
David Holm
1cf83c2653 ghc --devel 7.8.0-rc2
Closes Homebrew/homebrew#27234.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-06 21:21:47 -08:00
Ted Pennings
e333888c43 ghc: add a test
Closes Homebrew/homebrew#27248.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-06 21:09:00 -08:00
Geoff Nixon
ea23729b22 ghc 7.8.20140130 (devel)
Closes Homebrew/homebrew#26459.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-02-09 14:13:02 +00:00
Mike McQuaid
9a0119dcf4 Update docs, comment mxcl/homebrew refs. 2013-12-14 18:18:35 +00:00
Mike McQuaid
b10d377cca ghc: add mavericks bottle. 2013-10-28 12:37:58 +00:00
Mike McQuaid
7817856fc6 ghc: update bottles. 2013-09-27 08:18:26 +01:00
Mike McQuaid
6b1759b102 ghc: depend on apple-gcc42 on >=10.8. 2013-09-27 08:17:47 +01:00
Misty De Meo
a8dc5d9655 ghc: remove 10.8 bottle
See Homebrew/homebrew#22847 - the bottle is broken on Xcode 5.
2013-09-26 20:30:41 -07:00
Jack Nagel
5595d1901f ghc: use resource 2013-09-22 00:20:56 -05:00
Jack Nagel
71e13d7c73 Partially revert "ghc: use resources"
Can't use build inside of resource blocks.

This reverts commit 39fd447beeeda4faaa46559e5aadc7c38c99da75.
2013-09-21 20:58:36 -05:00
Jack Nagel
0a32d50bb5 ghc: use resources 2013-09-21 19:29:52 -05:00
Darin Morrison
887c0549ec ghc: fix building with Xcode 5
Closes Homebrew/homebrew#22674.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-09-18 22:05:14 -07:00
Darin Morrison
d8c99c46aa ghc: fix parallel make
Closes Homebrew/homebrew#22110.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2013-08-24 14:27:14 -07:00
Darin Morrison
5dd78ba855 ghc: fix with Xcode 5.
Closes Homebrew/homebrew#21960.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-08-24 08:48:55 +01:00
Adam Vandenberg
7b14ea25f5 GHC: remove duplicate j1 blocks
j1 is specified before each make install, so just put it
once at the top

Closes Homebrew/homebrew#20450.
2013-06-21 17:20:59 -07:00
Adam Vandenberg
d3698b51fa ghc: use :macos 2013-06-18 08:03:32 -07:00
Jack Nagel
17d4a1d98f ghc: fix testsuite download
Fixes Homebrew/homebrew#20194.
2013-06-01 10:22:21 -05:00
Mike McQuaid
dfebbb2eab ghc 7.6.3
Closes Homebrew/homebrew#14820.
Closes Homebrew/homebrew#18362.
Closes Homebrew/homebrew#18779.
2013-05-29 10:20:03 +01:00
Jack Nagel
ec11577107 Switch compilers when no build is specified
Given the current state of OS X compilers, the original fails_with
behavior is becoming less useful, mostly resulting in build failures
each time the compiler is updated. So make the following changes:

When a build is specified, we retain the old behavior: switch compilers
if the available compiler is <= the build, don't switch if it is > the
build.

When no build is specified, unconditionally switch compilers, and don't
output the advice message. This allows us to mark formulae as
perpetually failing, avoiding the need to update formulae each time a
new compiler build is made available.

As a bonus, this makes the logic much easier to reason about.

Closes Homebrew/homebrew#18175.
2013-03-12 13:55:15 -05:00
Mike McQuaid
1d4316de4e ghc: update bottle 2013-03-03 23:34:06 +00:00
Adam Vandenberg
987c0f9350 ghc: still fails with clang 425
Closes 17575.
2013-02-04 13:46:39 -08:00
Adam Vandenberg
5089bc4506 ghc: style nits 2013-01-27 14:54:49 -08:00
Jack Nagel
60003eecc3 Use new requirement syntax 2013-01-21 17:36:34 -06:00
nibbles 2bits
d0f2c8d89c ghc: add ENV.m32 for 32bit on x64.
- Add `ENV.m32` to fix build errors on 64bit hardware w/ `--32-bit`

Some users want to force 32bit ghc on 64bit hardware.
Ghc, however, comes with several internal libraries like libgmp
that get configured during the build. By forcing `ENV.m32`,
we force all the internal libs to build 32bit also.

Fixes Homebrew/homebrew#15925.
Closes Homebrew/homebrew#15933.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-11-09 07:44:59 -08:00
Mike McQuaid
53bc73fea4 ghc: add bottle. 2012-10-06 21:18:49 +01:00
nibbles 2bits
e0f39cffb3 ghc: 7.4.2 build from source
Following the discussion in Homebrew/homebrew#13519, ghc gets a major overhaul:

* Add a subformula that installs the ghc binary like before
* Use the ghc binary to build ghc from source
* Force ENV['LD'] = 'ld' to stop an assertion linking with llvm
* Add an option to run the testsuite. 9 unexpected fails atm
* Add a `j1` for an occasional install race
* Remove the patch which was fixed in two commits in Apr 2011.
        47ac5d859493ae0cd8dd02e1b4848f993acc3d5c
        a8d4731456ac3da0a70399e4ab821a763a4c04fb

Fixes Homebrew/homebrew#13519

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2012-10-06 21:18:49 +01:00
Adam Vandenberg
8af0e97014 Use env. 2012-09-14 09:14:48 -07:00
Jack Nagel
53473b6bf5 Clean up MacOS version method usage
The MacOS.version? family of methods (other than "leopard?") are poorly
defined and lead to confusing code. Replace them in formulae with more
explicit comparisons.

"MacOS.version" is a special version object that can be compared to
numerics, symbols, and strings using the standard Ruby comparison
methods.

The old methods were moved to compat when the version comparison code
was merged, and they must remain there "forever", but they should not be
used in new code.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-09-10 16:16:54 -05:00
Jack Nagel
a59d5ccec2 ghc: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-12 19:01:40 -05:00
Adam Vandenberg
31dba945f9 ghc: still doesn't work with Clang 421 2012-08-06 10:16:02 -07:00
Aku Kotkavuo
8574e0766a GHC 7.4.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-06-11 06:55:59 -07:00
rhysd
1826a6cb9c ghc: Update to 7.4.1
GHC stable release has updated to 7.4.1.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-06-05 15:44:48 -07:00
Jack Nagel
63cde03be4 Fix more quoting issues
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-15 17:08:57 -05:00
Mark A. Matienzo
e14c46a6ad ghc: readd explicit version numbers
Fixes Homebrew/homebrew#11719.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2012-04-18 07:06:02 -07:00
Charlie Sharpsteen
04d4ac373a GHC: Install 64bit version by default
The 64bit version of GHC became officially supported with the 7.0.2 release.
This is now used as the default unless the user does not have the required
hardware or invokes the `--32-bit` flag.

Closes Homebrew/homebrew#11490.
Closes Homebrew/homebrew#11491.
Closes Homebrew/homebrew#11708.
2012-04-17 12:08:58 -07:00
Adam Vandenberg
0a0bd67dc5 GHC: use a Requirement 2012-04-17 06:50:31 -07:00
Charlie Sharpsteen
186861b63e GHC: Refuse to install on Leopard
The binary releases of the GHC compiler are no longer compatible with OS X
10.5.

Fixes Homebrew/homebrew#11671.
2012-04-17 06:44:31 -07:00
Adam Vandenberg
3ec1c966d9 fix audit warnings 2012-04-05 20:30:45 -07:00
Jack Nagel
64afeec6d4 Use new fails_with DSL syntax
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-04-01 12:39:59 -05:00
Adam Vandenberg
9df30a139b ghc: fix audit warning 2012-02-03 22:29:48 -08:00
John Harrison
a93272bd57 GHC: Update devel to 7.4.1
Updating the formula to install GHC 7.4.1 for --devel, despite the fact thats
the current stable release. But, for haskell-platform I am leaving GHC 7.0.4 as
the current default GHC version.

Closes Homebrew/homebrew#9945.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
2012-02-02 22:15:11 -08:00
Misty De Meo
2f03f781da Add devel to the DSL, + stable and bottle blocks
This commit adds a `devel` entry to the DSL, allowing formulae to
specify an unstable branch.

`devel` takes a block, which should contain standard `url` and `md5`
fields (and `version`, if necessary). This must come after the standard
DSL fields.

This commit also migrates over all formulae currently using `devel` to
the new syntax, as well as formulae which used `head` for non-VCS urls.

The new syntax is also available for `stable` and `bottle`. `stable` is
an option alongside the old syntax. `bottle` replaces the old syntax.

Note that the @stable ivar in Formula has been renamed to @standard,
and the @bottle ivar has been renamed to @bottle_url.

Closes Homebrew/homebrew#9735.

Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
2012-01-25 21:45:19 -06:00
Aku Kotkavuo
e0155361f4 GHC: add 7.2.2 as --devel
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-26 19:47:40 -08:00