Mercurial > gub
changeset 6308:3a8e89e97310
Update GMP to 6.0.0a
author | Masamichi Hosoda <trueroad@users.noreply.github.com> |
---|---|
date | Mon, 05 Jan 2015 22:09:47 +0900 |
parents | 6a3d8fd0254d |
children | 667df5844672 |
files | gub/specs/gmp.py |
diffstat | 1 files changed, 3 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/gmp.py Sun Jan 04 19:41:02 2015 +0900 +++ b/gub/specs/gmp.py Mon Jan 05 22:09:47 2015 +0900 @@ -6,14 +6,14 @@ from gub import tools class Gmp (target.AutoBuild): - source = 'http://ftp.gnu.org/pub/gnu/gmp/gmp-5.1.3.tar.gz' + source = 'http://ftp.gnu.org/pub/gnu/gmp/gmp-6.0.0a.tar.xz' def __init__ (self, settings, source): target.AutoBuild.__init__ (self, settings, source) if not self.settings.platform.startswith ('darwin'): self.target_architecture = re.sub ('i[0-9]86-', 'i386-', settings.target_architecture) if 'stat' in misc.librestrict (): build.add_dict (self, {'LIBRESTRICT_IGNORE': '%(tools_prefix)s/bin/bash'}) - dependencies = ['libtool', 'tools::autoconf', 'tools::automake', 'tools::bison', 'tools::flex', 'tools::libtool'] + dependencies = ['libtool', 'tools::autoconf', 'tools::automake', 'tools::bison', 'tools::flex', 'tools::libtool', 'tools::xzutils'] configure_flags = (target.AutoBuild.configure_flags + ' --disable-cxx ') def configure (self): @@ -40,9 +40,6 @@ self.file_sub ([('using std::FILE;','')], '%(install_prefix)s/include/gmp.h') -class Gmp__darwin__x86 (Gmp__darwin): - source = 'http://ftp.gnu.org/pub/gnu/gmp/gmp-4.2.4.tar.gz' - class Gmp__mingw (Gmp): patches = [] def __init__ (self, settings, source): @@ -55,11 +52,8 @@ mv %(install_prefix)s/lib/*dll %(install_prefix)s/bin || true ''') -class Gmp__freebsd (Gmp): - source = 'http://ftp.gnu.org/pub/gnu/gmp/gmp-4.2.4.tar.gz' - class Gmp__tools (tools.AutoBuild, Gmp): - dependencies = ['bison', 'flex', 'libtool'] + dependencies = ['bison', 'flex', 'libtool', 'xzutils'] configure_variables = (tools.AutoBuild.configure_variables # avoid __isoc99_fscanf@@GLIBC_2.7 etc + ' CPPFLAGS=-D_GNU_SOURCE')