pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/gmp
Module Name: pkgsrc
Committed By: adam
Date: Sat Aug 5 07:08:26 UTC 2023
Modified Files:
pkgsrc/devel/gmp: Makefile builtin.mk distinfo
Removed Files:
pkgsrc/devel/gmp/patches: patch-mpz_inp__raw.c
Log Message:
gmp: updated to 6.3.0
Changes between GMP version 6.2.* and 6.3.*.
BUGS FIXED
* A possible overflow of type int is avoided for mpz_cmp on huge operands.
* A possible error condition when a malformed file is read with
mpz_inp_raw is now correctly handled.
FEATURES
* New public function mpz_prevprime, companion of the existing
mpz_nextprime.
* New documented pointer types mpz_ptr, mpz_srcptr, and similar for
other GMP types. Refer to the manual for full list and suggested
usage. These types have been present in gmp.h at least since
GMP-4.0, but previously not advertised to users.
* Support for 64-bit Arm under Macos.
* Support for the loongarch64 CPU family.
* Support for building with LTO, link-time optimisations.
SPEEDUPS
* New special code for base = 2 in mpz_powm reduces the average time
for the functions that test primality.
* Speedup for the function mpz_nextprime on large operands.
* Speedup for multiplications (some sizes only) thanks to new
internal functions to compute small negacyclic products.
* Special assembly code for IBM z13 and later "mainframe" CPUs, resulting in
a huge speedup.
* Improved assembly for several 64-bit x86 CPUs, Risc-V, 64-bit Arm.
To generate a diff of this commit:
cvs rdiff -u -r1.91 -r1.92 pkgsrc/devel/gmp/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/devel/gmp/builtin.mk
cvs rdiff -u -r1.59 -r1.60 pkgsrc/devel/gmp/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/devel/gmp/patches/patch-mpz_inp__raw.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/gmp/Makefile
diff -u pkgsrc/devel/gmp/Makefile:1.91 pkgsrc/devel/gmp/Makefile:1.92
--- pkgsrc/devel/gmp/Makefile:1.91 Thu Jul 21 10:17:21 2022
+++ pkgsrc/devel/gmp/Makefile Sat Aug 5 07:08:26 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.91 2022/07/21 10:17:21 wiz Exp $
+# $NetBSD: Makefile,v 1.92 2023/08/05 07:08:26 adam Exp $
-DISTNAME= gmp-6.2.1
-PKGREVISION= 3
+DISTNAME= gmp-6.3.0
CATEGORIES= devel math
MASTER_SITES= https://gmplib.org/download/gmp/
MASTER_SITES+= ${MASTER_SITE_GNU:=gmp/}
@@ -24,13 +23,11 @@ TEST_TARGET= check
PKGCONFIG_OVERRIDE+= gmp.pc.in
PKGCONFIG_OVERRIDE+= gmpxx.pc.in
-WRKSRC= ${WRKDIR}/${DISTNAME:S/a$//}
-
PLIST_VARS+= cxx
.include "../../mk/bsd.prefs.mk"
-.if !empty(USE_CROSS_COMPILE:M[yY][eE][sS])
+.if ${USE_CROSS_COMPILE:U:tl} == yes
CONFIGURE_ENV+= CC_FOR_BUILD=${NATIVE_CC:Q}
.endif
@@ -39,7 +36,7 @@ CONFIGURE_ARGS+= --enable-cxx
PLIST.cxx= yes
.endif
-.if !empty(MACHINE_PLATFORM:MIRIX-5.*) && !empty(ABI)
+.if ${MACHINE_PLATFORM:MIRIX-5.*} && !empty(ABI)
ABI= o32
.endif
Index: pkgsrc/devel/gmp/builtin.mk
diff -u pkgsrc/devel/gmp/builtin.mk:1.11 pkgsrc/devel/gmp/builtin.mk:1.12
--- pkgsrc/devel/gmp/builtin.mk:1.11 Mon Nov 16 13:12:41 2020
+++ pkgsrc/devel/gmp/builtin.mk Sat Aug 5 07:08:26 2023
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.11 2020/11/16 13:12:41 wiz Exp $
+# $NetBSD: builtin.mk,v 1.12 2023/08/05 07:08:26 adam Exp $
BUILTIN_PKG:= gmp
@@ -31,7 +31,7 @@ MAKEVARS+= IS_BUILTIN.gmp
### a package name to represent the built-in package.
###
.if !defined(BUILTIN_PKG.gmp) && \
- !empty(IS_BUILTIN.gmp:M[yY][eE][sS]) && \
+ ${IS_BUILTIN.gmp:tl} == yes && \
empty(H_GMP:M__nonexistent__)
BUILTIN_VERSION.gmp!= ${BUILTIN_VERSION_SCRIPT.gmp} ${H_GMP}
BUILTIN_PKG.gmp= gmp-${BUILTIN_VERSION.gmp}
@@ -47,12 +47,12 @@ MAKEVARS+= BUILTIN_PKG.gmp
USE_BUILTIN.gmp= no
. else
USE_BUILTIN.gmp= ${IS_BUILTIN.gmp}
-. if defined(BUILTIN_PKG.gmp) && !empty(IS_BUILTIN.gmp:M[yY][eE][sS])
+. if defined(BUILTIN_PKG.gmp) && ${IS_BUILTIN.gmp:tl} == yes
USE_BUILTIN.gmp= yes
. for _dep_ in ${BUILDLINK_API_DEPENDS.gmp}
-. if !empty(USE_BUILTIN.gmp:M[yY][eE][sS])
+. if ${USE_BUILTIN.gmp:tl} == yes
USE_BUILTIN.gmp!= \
- if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.gmp:Q}; then \
+ if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.gmp}; then \
${ECHO} yes; \
else \
${ECHO} no; \
@@ -65,8 +65,8 @@ USE_BUILTIN.gmp!= \
MAKEVARS+= USE_BUILTIN.gmp
CHECK_BUILTIN.gmp?= no
-.if !empty(CHECK_BUILTIN.gmp:M[Nn][Oo])
-. if !empty(USE_BUILTIN.gmp:M[Yy][Ee][Ss])
+.if ${CHECK_BUILTIN.gmp:tl} == no
+. if ${USE_BUILTIN.gmp:tl} == yes
GMP_INCLUDE= ${H_GMP:H}
BUILDLINK_INCDIRS.gmp= ${GMP_INCLUDE}
BUILDLINK_LIBDIRS.gmp= lib${LIBABISUFFIX}
Index: pkgsrc/devel/gmp/distinfo
diff -u pkgsrc/devel/gmp/distinfo:1.59 pkgsrc/devel/gmp/distinfo:1.60
--- pkgsrc/devel/gmp/distinfo:1.59 Fri Nov 26 12:23:08 2021
+++ pkgsrc/devel/gmp/distinfo Sat Aug 5 07:08:26 2023
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.59 2021/11/26 12:23:08 wiz Exp $
+$NetBSD: distinfo,v 1.60 2023/08/05 07:08:26 adam Exp $
-BLAKE2s (gmp-6.2.1.tar.bz2) = 4125e2992b9aa28eea69ada6030b34a0e293ca80140c3c069f4fcbd38055d6ee
-SHA512 (gmp-6.2.1.tar.bz2) = 8904334a3bcc5c896ececabc75cda9dec642e401fb5397c4992c4fabea5e962c9ce8bd44e8e4233c34e55c8010cc28db0545f5f750cbdbb5f00af538dc763be9
-Size (gmp-6.2.1.tar.bz2) = 2493916 bytes
+BLAKE2s (gmp-6.3.0.tar.bz2) = 5ed7b692aef1120414dcbde2222d11479e9f7251f8781520dc0041099125612c
+SHA512 (gmp-6.3.0.tar.bz2) = 3b684c9bcb9ede2b7e54d0ba4c9764bfa17c20d4f3000017c553b6f1e135b536949580ff37341680c25dc236cfe0ba1db8cfdfe619ce013656189ef0871b89f8
+Size (gmp-6.3.0.tar.bz2) = 2643888 bytes
SHA1 (patch-acinclude.m4) = 3f76c0aa8d29ec815a93448f9c4bc976ebdf7a2a
-SHA1 (patch-mpz_inp__raw.c) = d25995039d4c7226b5209cb932c13fe59a4578ca
Home |
Main Index |
Thread Index |
Old Index