Commit graph

11 commits

Author SHA1 Message Date
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