Mercurial > gub
changeset 5194:06e4efc24c68
Fix gmp for darwin-x86 on 32-bit OS, 64-bit system
* Manually setting ABI=32 and host=none-apple-darwin8
was causing configure to fail for gmp 4.2.1.
In gmp 4.2.4, the assembler errors appear to be fixed,
so the host override is no longer needed. I can compile
without the patch for 4.2.1, so I removed it too.
This has also been tested on a 32-bit system.
author | Patrick McCarty <address@hidden> |
---|---|
date | Thu, 19 Feb 2009 12:09:45 -0800 |
parents | ff5f7324f56f |
children | 29a7be2c93c4 |
files | gub/specs/gmp.py |
diffstat | 1 files changed, 1 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/gmp.py Thu Mar 19 12:22:06 2009 +0100 +++ b/gub/specs/gmp.py Thu Feb 19 12:09:45 2009 -0800 @@ -39,17 +39,7 @@ '%(install_prefix)s/include/gmp.h') class Gmp__darwin__x86 (Gmp__darwin): - def patch (self): - Gmp__darwin.patch (self) - self.apply_patch ('gmp-4.2.1-x86fat.patch') - - def configure_command (self): - - ## bypass oddball assembler errors. - c = Gmp__darwin.configure_command (self) - c = re.sub ('host=[^ ]+', 'host=none-apple-darwin8', c) - c = re.sub ('--target=[^ ]+', ' ', c) - return c + source = 'ftp://ftp.gnu.org/pub/gnu/gmp/gmp-4.2.4.tar.gz' class Gmp__cygwin (Gmp): source = 'ftp://ftp.gnu.org/pub/gnu/gmp/gmp-4.1.4.tar.gz'