SHA256
1
0
forked from pool/gmp

Accepting request 342071 from devel:libraries:c_c++

- Update to GMP 6.1.0 release.
  * New C++ functions gcd and lcm for mpz_class
  * New public mpn functions mpn_divexact_1, mpn_zero_p, and mpn_cnd_swap
  * New public mpq_cmp_z function, to efficiently compare rationals with
    integers
  * Support for more 32-bit arm processors
  * Support for AVX-less modern x86 CPUs
  * Speedups and bugfixes
- Includes gmp-6.0.0-ppc64-gcd.diff, now removed
- Update gmp keyring

OBS-URL: https://build.opensuse.org/request/show/342071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gmp?expand=0&rev=47
This commit is contained in:
Dominique Leuenberger 2015-11-05 23:01:27 +00:00 committed by Git OBS Bridge
commit b986916bb3
8 changed files with 1513 additions and 486 deletions

View File

@ -1,22 +0,0 @@
# HG changeset patch
# User Torbjorn Granlund <tege@gmplib.org>
# Date 1395835068 -3600
# Node ID 4a6d258b467f661da0894cc60ecd060f2e3c67c7
# Parent 301ce2788826a2d4d2725bd5cf01e998638db37a
Provide default for BMOD_1_TO_MOD_1_THRESHOLD.
diff -r 301ce2788826 -r 4a6d258b467f mpn/powerpc64/mode64/gcd_1.asm
--- a/mpn/powerpc64/mode64/gcd_1.asm Tue Mar 25 15:34:52 2014 +0100
+++ b/mpn/powerpc64/mode64/gcd_1.asm Wed Mar 26 12:57:48 2014 +0100
@@ -43,6 +43,9 @@
define(`n', `r4')
define(`v0', `r5')
+ifdef(`BMOD_1_TO_MOD_1_THRESHOLD',,
+ `define(`BMOD_1_TO_MOD_1_THRESHOLD',30)')
+
EXTERN_FUNC(mpn_mod_1)
EXTERN_FUNC(mpn_modexact_1c_odd)

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf
size 2319400

Binary file not shown.

3
gmp-6.1.0.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:498449a994efeba527885c10405993427995d3f86b8768d8cdf8d9dd7c6b73e8
size 2383840

BIN
gmp-6.1.0.tar.bz2.sig Normal file

Binary file not shown.

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Mon Nov 2 08:57:09 UTC 2015 - rguenther@suse.com
- Update to GMP 6.1.0 release.
* New C++ functions gcd and lcm for mpz_class
* New public mpn functions mpn_divexact_1, mpn_zero_p, and mpn_cnd_swap
* New public mpq_cmp_z function, to efficiently compare rationals with
integers
* Support for more 32-bit arm processors
* Support for AVX-less modern x86 CPUs
* Speedups and bugfixes
- Includes gmp-6.0.0-ppc64-gcd.diff, now removed
- Update gmp keyring
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 24 16:36:38 UTC 2015 - mpluskal@suse.com Tue Feb 24 16:36:38 UTC 2015 - mpluskal@suse.com

File diff suppressed because it is too large Load Diff

View File

@ -17,7 +17,7 @@
Name: gmp Name: gmp
Version: 6.0.0a Version: 6.1.0
Release: 0 Release: 0
Summary: The GNU MP Library Summary: The GNU MP Library
License: GPL-3.0+ and LGPL-3.0+ License: GPL-3.0+ and LGPL-3.0+
@ -28,7 +28,6 @@ Source1: https://gmplib.org/download/%{name}/%{name}-%{version}.tar.bz2.s
Source2: %{name}.keyring Source2: %{name}.keyring
Source3: baselibs.conf Source3: baselibs.conf
Patch0: gmp-noexec.diff Patch0: gmp-noexec.diff
Patch1: gmp-6.0.0-ppc64-gcd.diff
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -65,10 +64,8 @@ These libraries are needed to develop programs which calculate with
huge numbers (integer and floating point). huge numbers (integer and floating point).
%prep %prep
# version is 6.0.0a but source contains directory 6.0.0 %setup -q
%setup -q -n %{name}-6.0.0
%patch0 %patch0
%patch1 -p1
%build %build
# Do not use %%configure here, that will break build on SLE11 because # Do not use %%configure here, that will break build on SLE11 because