diff options
| author | Jack Nagel | 2011-05-21 17:59:05 -0500 |
|---|---|---|
| committer | Adam Vandenberg | 2011-06-03 16:35:58 -0700 |
| commit | ae3519a84962d47f5628dcc863ba32a4de59bdeb (patch) | |
| tree | f4df7df1b1006f8f7f9dac1df79831bca45dad34 /Library/Formula/gmp.rb | |
| parent | 6e2d3ac3df53f85c27ed5ab4cd52f10ebb042383 (diff) | |
| download | homebrew-ae3519a84962d47f5628dcc863ba32a4de59bdeb.tar.bz2 | |
gmp 5.0.2
Appears to compile with LLVM too.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/gmp.rb')
| -rw-r--r-- | Library/Formula/gmp.rb | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Library/Formula/gmp.rb b/Library/Formula/gmp.rb index d01c37ca0..9061aa3ee 100644 --- a/Library/Formula/gmp.rb +++ b/Library/Formula/gmp.rb @@ -1,9 +1,9 @@ require 'formula' class Gmp < Formula - url 'ftp://ftp.gnu.org/gnu/gmp/gmp-5.0.1.tar.bz2' + url 'ftp://ftp.gnu.org/gnu/gmp/gmp-5.0.2.tar.bz2' homepage 'http://gmplib.org/' - sha1 '6340edc7ceb95f9015a758c7c0d196eb0f441d49' + sha1 '2968220e1988eabb61f921d11e5d2db5431e0a35' def options [ @@ -12,15 +12,13 @@ class Gmp < Formula ] end - fails_with_llvm "Tests fail to compile; missing references in 'llvm bitcode in libtests.a(misc.o)'." - def install # Reports of problems using gcc 4.0 on Leopard # https://github.com/mxcl/homebrew/issues/issue/2302 # Also force use of 4.2 on 10.6 in case a user has changed the default ENV.gcc_4_2 - args = ["--prefix=#{prefix}", "--infodir=#{info}", "--enable-cxx"] + args = ["--prefix=#{prefix}", "--enable-cxx"] # Build 32-bit where appropriate, and help configure find 64-bit CPUs if MacOS.prefer_64_bit? and not ARGV.include? "--32-bit" @@ -33,7 +31,7 @@ class Gmp < Formula system "./configure", *args system "make" - ENV.j1 # Don't install in parallel + ENV.j1 # Doesn't install in parallel on 8-core Mac Pro system "make install" # Different compilers and options can cause tests to fail even |
