pkgsrc/devel/gmp/Makefile

39 lines
928 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.44 2007/06/18 02:45:31 schmonz Exp $
Update to GNU MP 4.2.1 Changes between GMP version 4.2 and 4.2.1 Bugs: * Shared library numbers corrected. * Broken support for 32-bit AIX fixed. * Misc minor fixes. Speedups: * Exact division (mpz_divexact) now falls back to plain division for large operands. Features: * Support for some new systems. Changes between GMP version 4.1.4 and 4.2 Bugs: * Minor bug fixes and code generalizations. * Expanded and improved test suite. Speedups: * Many minor optimizations, too many to mention here. * Division now always subquadratic. * Computation of n-factorial much faster. * Added basic x86-64 assembly code. * Floating-point output is now subquadratic for all bases. * FFT multiply code now about 25% faster. * Toom3 multiply code faster. Features: * Much improved configure. * Workarounds for many more compiler bugs. * Temporary allocations are now made on the stack only if small. * New systems supported: HPPA-2.0 gcc, IA-64 HP-UX, PowerPC-64 Darwin, Sparc64 GNU/Linux. * New i386 fat binaries, selecting optimised code at runtime (--enable-fat). * New build option: --enable-profiling=instrument. * New memory function: mp_get_memory_functions. * New Mersenne Twister random numbers: gmp_randinit_mt, also now used for gmp_randinit_default. * New random functions: gmp_randinit_set, gmp_urandomb_ui, gmp_urandomm_ui. * New integer functions: mpz_combit, mpz_rootrem. * gmp_printf etc new type "M" for mp_limb_t. * gmp_scanf and friends now accept C99 hex floats. * Numeric input and output can now be in bases up to 62. * Comparisons mpz_cmp_d, mpz_cmpabs_d, mpf_cmp_d recognise infinities. * Conversions mpz_get_d, mpq_get_d, mpf_get_d truncate towards zero, previously their behaviour was unspecified. * Fixes for overflow issues with operands >= 2^31 bits. Caveats: * mpfr is gone, and will from now on be released only separately. Please see www.mpfr.org.
2006-12-09 04:38:16 +01:00
DISTNAME= gmp-4.2.1
CATEGORIES= devel math
MASTER_SITES= ${MASTER_SITE_GNU:=gmp/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://swox.com/gmp/
COMMENT= Library for arbitrary precision arithmetic
2004-01-19 14:15:52 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LANGUAGES= c c++ c99
USE_TOOLS+= gm4
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
2003-12-02 22:57:26 +01:00
CONFIGURE_ARGS+= --enable-cxx --without-readline
INFO_FILES= # PLIST
2003-08-21 22:09:29 +02:00
TEST_TARGET= check
.include "../../mk/bsd.prefs.mk"
.if !empty(LOWER_OPSYS:Mirix5*) && !empty(ABI)
ABI= o32
.endif
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
# The configure script thinks gcc 2.95 for ARM is too buggy to use.
GCC_REQD+= 3.0
.endif
.if ${OPSYS} == "Darwin" && ${MACHINE_ARCH} == "i386"
# don't use x86 assembly (it doesn't build)
CONFIGURE_ENV+= MPN_PATH="generic"
.endif
.include "../../mk/bsd.pkg.mk"