Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/lgpl3/mpfr/lib/libmpfr updates for mpfr 4.0.1.



details:   https://anonhg.NetBSD.org/src/rev/420fd3cd28f6
branches:  trunk
changeset: 944308:420fd3cd28f6
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sat Sep 26 07:50:41 2020 +0000

description:
updates for mpfr 4.0.1.

diffstat:

 external/lgpl3/mpfr/lib/libmpfr/Makefile |  22 +++++++++++++++++++---
 1 files changed, 19 insertions(+), 3 deletions(-)

diffs (92 lines):

diff -r dd117d35f5ff -r 420fd3cd28f6 external/lgpl3/mpfr/lib/libmpfr/Makefile
--- a/external/lgpl3/mpfr/lib/libmpfr/Makefile  Sat Sep 26 07:40:50 2020 +0000
+++ b/external/lgpl3/mpfr/lib/libmpfr/Makefile  Sat Sep 26 07:50:41 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.20 2020/05/15 14:44:05 joerg Exp $
+#      $NetBSD: Makefile,v 1.21 2020/09/26 07:50:41 mrg Exp $
 
 .include <bsd.init.mk>
 
@@ -10,6 +10,8 @@
 INCSDIR=      /usr/include
 .endif
 
+MPFRDIST=      ${.CURDIR}/../../dist
+
 # XXX get_d.c triggers lint div zero errors (which is valid?)
 MKLINT=no
 
@@ -43,7 +45,8 @@
        clears.c \
        cmp.c \
        cmp2.c \
-       cmp_abs.c \
+       cmpabs.c \
+       cmpabs_ui.c \
        cmp_d.c \
        cmp_ld.c \
        cmp_si.c \
@@ -71,6 +74,7 @@
        div_2ui.c \
        div_d.c \
        div_ui.c \
+       dot.c \
        dump.c \
        eint.c \
        eq.c \
@@ -104,6 +108,7 @@
        gamma_inc.c \
        gammaonethird.c \
        get_d.c \
+       get_d128.c \
        get_d64.c \
        get_exp.c \
        get_f.c \
@@ -156,6 +161,7 @@
        mul_d.c \
        mul_ui.c \
        mulders.c \
+       nbits_ulong.c \
        neg.c \
        next.c \
        nrandom.c \
@@ -185,6 +191,7 @@
        sech.c \
        set.c \
        set_d.c \
+       set_d128.c \
        set_d64.c \
        set_dfl_prec.c \
        set_exp.c \
@@ -234,6 +241,7 @@
        swap.c \
        tan.c \
        tanh.c \
+       total_order.c \
        ubf.c \
        uceil_exp2.c \
        uceil_log2.c \
@@ -280,7 +288,7 @@
 # Find <gmp.h>
 .include "../../../gmp/Makefile.arch"
 CPPFLAGS+=     -I${NETBSDSRCDIR}/external/lgpl3/gmp/lib/libgmp/arch/${GMP_MACHINE_ARCH}
-CPPFLAGS+=     -I${.CURDIR}/../../dist/src
+CPPFLAGS+=     -I${MPFRDIST}/src
 
 # IEEE FP support.  No VAX here.
 .if ${MACHINE_ARCH} == "x86_64" || \
@@ -322,6 +330,14 @@
 ${SRCS}: mparam.h
 CLEANFILES+= mparam.h
 
+GET_PATCHES_SH=        ${MPFRDIST}/tools/get_patches.sh
+PATCHES=       ${MPFRDIST}/PATCHES
+
+get_patches.c: ${GET_PATCHES_SH} ${PATCHES}
+       ${GET_PATCHES_SH} ${PATCHES} > $@.tmp && mv $@.tmp $@
+
+CLEANFILES+= get_patches.c.tmp get_patches.c
+
 .PATH: ${.CURDIR}/../../dist/src
 
 .if !empty(MACHINE_ARCH:M*arm*)



Home | Main Index | Thread Index | Old Index