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