Commit graph

15 commits

Author SHA1 Message Date
Jack Nagel
8214e7b9e7 bdw-gc: apply patch to fix Makefile issue
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-15 09:32:24 -06:00
Jack Nagel
2f302d1ddd bdw-gc: use 7.2alpha6 by default
7.1 is over two years old, and upstream recommends using 7.2alpha6
instead. This fixes build and test issues that 7.1 had on some systems,
and incompatibilities with some software.

Closes Homebrew/homebrew#8609.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-14 19:17:27 -06:00
Jack Nagel
aa0d1cac38 bdw-gc: fix configure argument
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-01-27 13:02:30 -06: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
Jack Nagel
491ef46cea Define and use ARGV.build_devel?
Often it is useful to provide a development build in addition to the
stable release or HEAD download.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-11-21 20:04:33 -08:00
Jack Nagel
b20d4ee6d0 bdw-gc: add 7.2alpha6 as the '--devel' version
This should allow Lion users have a build that passes the test suite and
actually works in practice.

Also enable C++ support while we're at it.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-15 16:36:24 -06:00
Jack Nagel
0aecbade8c bdw-gc: fix LLVM builds
Applying a patch from MacPorts fixes the inline asm errors, and the fix
is already present in recent upstream sources.

Now we run 'make check' since we're patching important code, and it's
quick anyway.

Closes Homebrew/homebrew#8180.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-29 22:02:17 -05:00
Jack Nagel
1bdefb6a42 Clarify fails_with_llvm in bdw-gc and stklos
bdw-gc fails with LLVM build 2335, but stklos shouldn't fail at all
anymore since bdw-gc is now an explicit dependency instead of being
built internally.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-05 03:31:50 -05:00
Adam Vandenberg
121e4f8614 Normalize use of MACOS_VERSION 2011-04-09 09:36:30 -07:00
Adam Vandenberg
99b61b9a23 Update fails_with_llvm in formulae 2011-03-25 23:31:30 -07:00
Adam Vandenberg
4147b05c57 Use ruby style for inheritance. 2011-03-12 11:55:09 -08:00
Adam Vandenberg
e1bb919734 Add "fails_with_llvm" to formula to document LLVM build breaks.
Replaced ENV.gcc_4_2 + comments with calls to "fails_with_llvm",
to specifically message to the user when a formula is known or suspected
to not build with LLVM. If the user specifies "--use-llvm", the message
will be displayed, but compilation will be tried anyway.

Since using LLVM is now an advanced/hidden feature instead of the
default on 10.6, we'll let the user try anyway (and submit patches
if things are now working.)
2010-06-16 11:50:36 -07:00
Adam Vandenberg
0839c5f323 Reformat BdwGc. 2009-12-12 16:24:18 +00:00
Max Howell
61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00
David Höppner
9aaa8458d0 Boehm-Demers-Weiser garbage collector formula
The Boehm-Demers-Weiser conservative garbage collector can be used as a garbage collecting
replacement for C malloc or C++ new. It allows you to allocate memory basically as you
normally would, without explicitly deallocating memory that is no longer useful. The collector
automatically recycles memory when it determines that it can no longer be otherwise accessed.

Adam Vandenberg:
    Update bdw-gc formula for 10.6
2009-09-29 23:33:22 +01:00