From c5d56bc501664b5a159b60e86672fcdda5c19d27 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Wed, 16 Jun 2010 11:50:36 -0700 Subject: 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.) --- Library/Formula/aqbanking.rb | 3 +-- Library/Formula/aria2.rb | 2 +- Library/Formula/aspell.rb | 2 +- Library/Formula/bdw-gc.rb | 5 ++--- Library/Formula/boost.rb | 5 ++--- Library/Formula/celt.rb | 4 +--- Library/Formula/dirac.rb | 3 +-- Library/Formula/elinks.rb | 2 +- Library/Formula/erlang.rb | 2 +- Library/Formula/flusspferd.rb | 2 +- Library/Formula/gambit-scheme.rb | 4 +--- Library/Formula/gmp.rb | 3 +-- Library/Formula/gnu-smalltalk.rb | 3 +-- Library/Formula/gpgme.rb | 2 +- Library/Formula/graphicsmagick.rb | 2 +- Library/Formula/gwenhywfar.rb | 3 +-- Library/Formula/john.rb | 2 +- Library/Formula/libexif.rb | 4 +--- Library/Formula/monotone.rb | 4 +--- Library/Formula/mysql-connector-c.rb | 2 +- Library/Formula/mysql.rb | 2 +- Library/Formula/ncursesw.rb | 2 +- Library/Formula/nethack.rb | 2 +- Library/Formula/nmap.rb | 2 +- Library/Formula/node.rb | 2 +- Library/Formula/pbzip2.rb | 3 +-- Library/Formula/pdflib-lite.rb | 3 +-- Library/Formula/portaudio.rb | 2 +- Library/Formula/povray.rb | 3 +-- Library/Formula/proj.rb | 2 +- Library/Formula/protobuf.rb | 2 +- Library/Formula/pv.rb | 5 ++--- Library/Formula/redis.rb | 2 +- Library/Formula/redland.rb | 3 +-- Library/Formula/ruby-enterprise-edition.rb | 2 +- Library/Formula/ruby.rb | 2 +- Library/Formula/sdl.rb | 2 +- Library/Formula/sphinx.rb | 4 +--- Library/Formula/spin.rb | 2 +- Library/Formula/streamripper.rb | 2 +- Library/Formula/syck.rb | 2 +- Library/Formula/tesseract.rb | 3 +-- Library/Formula/tex-live.rb | 3 +-- Library/Formula/unittest.rb | 2 +- Library/Formula/vice.rb | 3 +-- Library/Formula/visualboyadvance.rb | 2 +- Library/Formula/vpnc.rb | 2 +- Library/Formula/w3m.rb | 2 +- Library/Formula/wine.rb | 3 +-- 49 files changed, 52 insertions(+), 78 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/aqbanking.rb b/Library/Formula/aqbanking.rb index 617b21454..d04b64a85 100644 --- a/Library/Formula/aqbanking.rb +++ b/Library/Formula/aqbanking.rb @@ -12,8 +12,7 @@ class Aqbanking :optional def install - # 1 Test failed with llvm-gcc - ENV.gcc_4_2 - + fails_with_llvm "1 test failed with llvm-gcc" system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", "--enable-new-plc" system "make check" system "make install" diff --git a/Library/Formula/dirac.rb b/Library/Formula/dirac.rb index 4f778f557..02ed09e59 100644 --- a/Library/Formula/dirac.rb +++ b/Library/Formula/dirac.rb @@ -6,8 +6,7 @@ class Dirac :optional # 32/64 built build problems def install - # Codegen problems with LLVM - ENV.gcc_4_2 + fails_with_llvm "Codegen problems with LLVM" # 64-bit version doesn't build, so force 32 bits. ENV.m32 diff --git a/Library/Formula/gpgme.rb b/Library/Formula/gpgme.rb index a653f91ea..562edf2a6 100644 --- a/Library/Formula/gpgme.rb +++ b/Library/Formula/gpgme.rb @@ -9,7 +9,7 @@ class Gpgme < Formula depends_on 'libgpg-error' def install - ENV.gcc_4_2 + fails_with_llvm system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}", "--disable-asm" diff --git a/Library/Formula/graphicsmagick.rb b/Library/Formula/graphicsmagick.rb index a3bf3d66b..f81ed5162 100644 --- a/Library/Formula/graphicsmagick.rb +++ b/Library/Formula/graphicsmagick.rb @@ -34,7 +34,7 @@ class Graphicsmagick :optional def install - ENV.gcc_4_2 - + fails_with_llvm system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking", diff --git a/Library/Formula/ruby-enterprise-edition.rb b/Library/Formula/ruby-enterprise-edition.rb index 3ba43ce8a..f8e2f13fe 100644 --- a/Library/Formula/ruby-enterprise-edition.rb +++ b/Library/Formula/ruby-enterprise-edition.rb @@ -12,7 +12,7 @@ class RubyEnterpriseEdition "2206" # 'make install' expects the language data files in the build directory d = Dir.getwd diff --git a/Library/Formula/tex-live.rb b/Library/Formula/tex-live.rb index 1e168dcb2..a8b57424a 100644 --- a/Library/Formula/tex-live.rb +++ b/Library/Formula/tex-live.rb @@ -100,8 +100,7 @@ class TexLive