[Gmp-commit] /var/hg/gmp: 3 new changesets

mercurial at gmplib.org mercurial at gmplib.org
Thu Jan 10 21:32:56 CET 2013


details:   /var/hg/gmp/rev/07311142a8ed
changeset: 15252:07311142a8ed
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Thu Jan 10 21:23:10 2013 +0100
description:
(check-mini-gmp): Set LD_LIBRARY_PATH to allow testing with dynamic main GMP build.

details:   /var/hg/gmp/rev/4f4198aeaf18
changeset: 15253:4f4198aeaf18
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Thu Jan 10 21:31:55 2013 +0100
description:
ChangeLog

details:   /var/hg/gmp/rev/06eaffc59c1b
changeset: 15254:06eaffc59c1b
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Thu Jan 10 21:32:53 2013 +0100
description:
Whitespace cleanup.

diffstat:

 ChangeLog                   |  5 +++++
 Makefile.am                 |  3 ++-
 NEWS                        |  2 +-
 mini-gmp/mini-gmp.c         |  2 +-
 mini-gmp/tests/hex-random.c |  3 +--
 5 files changed, 10 insertions(+), 5 deletions(-)

diffs (63 lines):

diff -r f47abbae9591 -r 06eaffc59c1b ChangeLog
--- a/ChangeLog	Thu Jan 10 13:37:36 2013 +0100
+++ b/ChangeLog	Thu Jan 10 21:32:53 2013 +0100
@@ -1,3 +1,8 @@
+2013-01-10  Torbjorn Granlund  <tege at gmplib.org>
+
+	* Makefile.am (check-mini-gmp): Set LD_LIBRARY_PATH to allow testing
+	with dynamic main GMP build.
+
 2013-01-10 Marco Bodrato <bodrato at mail.dm.unipi.it>
 
 	* mpz/export.c: Less restrictive ASSERTs.
diff -r f47abbae9591 -r 06eaffc59c1b Makefile.am
--- a/Makefile.am	Thu Jan 10 13:37:36 2013 +0100
+++ b/Makefile.am	Thu Jan 10 21:32:53 2013 +0100
@@ -406,7 +406,8 @@
 	abs_srcdir="`cd $(srcdir) && pwd`" ; \
 	$(MKDIR_P) mini-gmp/tests \
 	&& cd mini-gmp/tests \
-	&& $(MAKE) -f "$$abs_srcdir/mini-gmp/tests/Makefile" \
+	&& LD_LIBRARY_PATH="../../.libs:$$LD_LIBRARY_PATH" \
+	   $(MAKE) -f "$$abs_srcdir/mini-gmp/tests/Makefile" \
 		VPATH="$$abs_srcdir/mini-gmp/tests" \
 		srcdir="$$abs_srcdir/mini-gmp/tests" \
 		MINI_GMP_DIR="$$abs_srcdir/mini-gmp" \
diff -r f47abbae9591 -r 06eaffc59c1b NEWS
--- a/NEWS	Thu Jan 10 13:37:36 2013 +0100
+++ b/NEWS	Thu Jan 10 21:32:53 2013 +0100
@@ -40,7 +40,7 @@
     speedups for small and large operands.
 
   * New subquadratic algorithm for the Kronecker/Jacobi/Legendre symbol.
-  
+
   * Major speedup for ARM, in particular ARM Cortex-A9 and A15, thanks to broad
     assembly support.
 
diff -r f47abbae9591 -r 06eaffc59c1b mini-gmp/mini-gmp.c
--- a/mini-gmp/mini-gmp.c	Thu Jan 10 13:37:36 2013 +0100
+++ b/mini-gmp/mini-gmp.c	Thu Jan 10 21:32:53 2013 +0100
@@ -4039,7 +4039,7 @@
   p = (unsigned char *) src;
 
   word_step = (order != endian) ? 2 * size : 0;
-	
+
   /* Process bytes from the least significant end, so point p at the
      least significant word. */
   if (order == 1)
diff -r f47abbae9591 -r 06eaffc59c1b mini-gmp/tests/hex-random.c
--- a/mini-gmp/tests/hex-random.c	Thu Jan 10 13:37:36 2013 +0100
+++ b/mini-gmp/tests/hex-random.c	Thu Jan 10 21:32:53 2013 +0100
@@ -92,9 +92,8 @@
   mpz_export (dst, countp, order, size, endian, 0, x);
   mpz_clear (x);
   return res;
-  
 }
-  
+
 void
 hex_random_op (enum hex_random_op op,  unsigned long maxbits,
 	       char **ap, char **bp, char **rp)


More information about the gmp-commit mailing list