Upgrade bdw-gc to version 7.2d. It passes make check on 10.8
using clang and llvm from XCode-4.4.1. Remove the `fails_with`.
FixesHomebrew/homebrew#13940.
ClosesHomebrew/homebrew#14259.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
On their github site, the devs fix the compile error with Clang
in the master of the release branch. Put that patch inline.
Fixes compile error with Clang, Lion, XCode-4.3.2. Passes
make check.
ClosesHomebrew/homebrew#11206.
ClosesHomebrew/homebrew#10453.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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.
ClosesHomebrew/homebrew#8609.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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.
ClosesHomebrew/homebrew#9735.
Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
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>
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>
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.
ClosesHomebrew/homebrew#8180.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
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>
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.)
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.
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