Commit graph

33 commits

Author SHA1 Message Date
Mike McQuaid
bdfb06f884 gmp: 5.1.1 bottles. 2013-03-25 23:28:59 +00:00
Jack Nagel
8d39111df7 gmp: fix arg quoting 2013-03-06 11:30:08 -06:00
Stefan
ef50afafa5 gmp 5.1.1
Closes Homebrew/homebrew#16906.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-03 10:14:23 +00:00
Adam Vandenberg
ab029ac048 gmp: remove option to skip tests
Refs Homebrew/homebrew#15114.
2012-10-01 16:24:36 -07:00
Jack Nagel
be3fb6292c gmp: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-12 19:01:59 -05:00
Jack Nagel
f31f4bee0a Add MacOS::Xcode.provides_gcc?
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-25 12:04:42 -05:00
Jack Nagel
a076df83bc Use new Xcode module
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-07-25 12:04:41 -05:00
Jack Nagel
0beffcafac gmp 5.0.5
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-07 21:23:51 -05:00
Jack Nagel
0afb3e7710 gmp 5.0.4
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-02-11 14:38:38 -06:00
Adam Vandenberg
725311b0af Standardize 32 bit build switch 2012-01-02 14:53:36 -08:00
markusn
15d5bf1bec gmp: allow building with Xcode 4.2
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-12-15 21:11:13 -08:00
Jack Nagel
83fcafb5aa Add mirrors for GNU formulae
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-30 12:56:07 -06:00
Jack Nagel
b06688e585 Specify "build" but not "host" for gmp and mpfr
The "--host" flag to configure defaults to "--build", and explicitly
passing it is normally reserved for cross-compiling.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-10-03 14:59:50 -05:00
Jack Nagel
fa3d89a7c0 Use automatic mirror selection for GNU downloads
It seems that the main GNU download site has issues in some places
outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick
a nearby mirror.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-12 15:08:20 -05:00
Jack Nagel
f10e8aaa88 Revert "gmp: build with ENV.universal_binary"
This broke the build for a lot of people, and since nothing of import
explicitly requires a universal build, I think it's best to just revert
it for now.

Though I would really like to get GMP building universal eventually, so
patches welcome.

This reverts commit c0b2528a705891af3f1be9bc33397a334c903655.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-06 16:23:34 -05:00
Jack Nagel
fdb5de6158 gmp: build with ENV.universal_binary
This is required to build a universal nettle, which is a new library
that is in turn required for the new GnuTLS 3.x series.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-09-02 17:23:49 -05:00
Jack Nagel
99eb3fc0a9 gmp: improve documentation
Provide a link to some official documentation regarding the 32/64 bit
build logic.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-08-29 21:22:08 -05:00
Jack Nagel
60df98f1ec gmp 5.0.2
Appears to compile with LLVM too.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-06-03 16:35:58 -07:00
Adam Vandenberg
1df0d004b1 gmp - help 64-bit detection for newer CPUs 2011-03-26 10:03:08 -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
Alexander Corrado
22b66fc917 gmp - need to force GCC 4.2 on 10.6 as well
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2011-03-06 16:29:13 -08:00
Tianyi Cui
8b275c916a Use https for all GitHub URLs
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-11-18 20:14:27 -08:00
Adam Vandenberg
c1d7802031 gmp - force GCC 4.2. Fixes Homebrew/homebrew#2302 2010-10-17 16:31:01 -07:00
pascalbertrand
b0e856dbb0 gmp - Allow creating 32bit build on Snow Leopard
Signed-off-by: Adam Vandenberg <flangy@gmail.com>

 * Note that building 32-bit on Snow Leopard will cause other
   64-bit brews to fail to find gmp.
2010-10-17 10:19:57 -07: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
318c3016df Fix gmp for Leopard. 2010-04-26 08:40:55 -07:00
Markus Groß
f23c148905 Updated gmp to version 5.0.1.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-04-24 20:51:36 -07:00
Martin Kuehl
ef33869b4f Install `gmp' texinfo files into the right directory.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2010-02-25 15:32:27 -08:00
Ash Berlin
acacc440f3 Build libgmpxx with gmp formula 2010-01-13 13:35:30 +00:00
Adam Vandenberg
7b68d9b5c8 Fix gmp formula for 10.5 / MacPro. 2009-12-12 16:24:14 +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
Adam Vandenberg
2d406986aa Formula for GMP
GMP is a free library for arbitrary precision arithmetic, operating on
signed integers, rational numbers, and floating point numbers. There is
no practical limit to the precision except the ones implied by the available
memory in the machine GMP runs on. GMP has a rich set of functions, and the
functions have a regular interface.
2009-09-29 23:33:22 +01:00