Source-Changes-HG archive

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

[src/trunk]: src/external/lgpl3 build new libmpc and libmpfr files. define e...



details:   https://anonhg.NetBSD.org/src/rev/593b513f746f
branches:  trunk
changeset: 993309:593b513f746f
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Sep 04 05:16:25 2018 +0000

description:
build new libmpc and libmpfr files.  define endianness as needed.
remove odd sort of duplicated SRCS list for mpfr.

diffstat:

 external/lgpl3/mpc/lib/libmpc/Makefile   |    4 +-
 external/lgpl3/mpc/lib/libmpc/config.h   |   20 +-
 external/lgpl3/mpfr/lib/libmpfr/Makefile |  249 +++---------------------------
 3 files changed, 47 insertions(+), 226 deletions(-)

diffs (truncated from 453 to 300 lines):

diff -r 6953ae8f40da -r 593b513f746f external/lgpl3/mpc/lib/libmpc/Makefile
--- a/external/lgpl3/mpc/lib/libmpc/Makefile    Tue Sep 04 05:05:25 2018 +0000
+++ b/external/lgpl3/mpc/lib/libmpc/Makefile    Tue Sep 04 05:16:25 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.3 2017/08/22 09:17:50 mrg Exp $
+#      $NetBSD: Makefile,v 1.4 2018/09/04 05:16:25 mrg Exp $
 
 .include <bsd.init.mk>
 
@@ -30,6 +30,7 @@
        atanh.c \
        clear.c \
        cmp.c \
+       cmp_abs.c \
        cmp_si_si.c \
        conj.c \
        cos.c \
@@ -73,6 +74,7 @@
        pow_z.c \
        proj.c \
        real.c \
+       rootofunity.c \
        urandom.c \
        set.c \
        set_prec.c \
diff -r 6953ae8f40da -r 593b513f746f external/lgpl3/mpc/lib/libmpc/config.h
--- a/external/lgpl3/mpc/lib/libmpc/config.h    Tue Sep 04 05:05:25 2018 +0000
+++ b/external/lgpl3/mpc/lib/libmpc/config.h    Tue Sep 04 05:16:25 2018 +0000
@@ -13,6 +13,9 @@
 /* Define to 1 if you have the `dup2' function. */
 #define HAVE_DUP2 1
 
+/* Define to 1 if you have the `getrusage' function. */
+#define HAVE_GETRUSAGE 1
+
 /* Define to 1 if you have the `gettimeofday' function. */
 #define HAVE_GETTIMEOFDAY 1
 
@@ -37,6 +40,9 @@
 /* Define to 1 if you have the <memory.h> header file. */
 #define HAVE_MEMORY_H 1
 
+/* mpfr_fmma is not present */
+#define HAVE_MPFR_FMMA 1
+
 /* Define to 1 if you have the `setlocale' function. */
 #define HAVE_SETLOCALE 1
 
@@ -52,6 +58,9 @@
 /* Define to 1 if you have the <string.h> header file. */
 #define HAVE_STRING_H 1
 
+/* Define to 1 if you have the <sys/resource.h> header file. */
+#define HAVE_SYS_RESOURCE_H 1
+
 /* Define to 1 if you have the <sys/stat.h> header file. */
 #define HAVE_SYS_STAT_H 1
 
@@ -64,8 +73,7 @@
 /* Define to 1 if you have the <unistd.h> header file. */
 #define HAVE_UNISTD_H 1
 
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
-   */
+/* Define to the sub-directory where libtool stores uninstalled libraries. */
 #define LT_OBJDIR ".libs/"
 
 /* C compiler */
@@ -75,7 +83,7 @@
 #define MPC_GCC "yes"
 
 /* Version of gcc */
-#define MPC_GCC_VERSION "4.5.3"
+#define MPC_GCC_VERSION "5.5.0"
 
 /* Do not check mpc_out_str on stdout */
 /* #undef MPC_NO_STREAM_REDIRECTION */
@@ -93,7 +101,7 @@
 #define PACKAGE_NAME "mpc"
 
 /* Define to the full name and version of this package. */
-#define PACKAGE_STRING "mpc 1.0.1"
+#define PACKAGE_STRING "mpc 1.1.0"
 
 /* Define to the one symbol short name of this package. */
 #define PACKAGE_TARNAME "mpc"
@@ -102,7 +110,7 @@
 #define PACKAGE_URL ""
 
 /* Define to the version of this package. */
-#define PACKAGE_VERSION "1.0.1"
+#define PACKAGE_VERSION "1.1.0"
 
 /* Define to 1 if you have the ANSI C header files. */
 #define STDC_HEADERS 1
@@ -111,7 +119,7 @@
 #define TIME_WITH_SYS_TIME 1
 
 /* Version number of package */
-#define VERSION "1.0.1"
+#define VERSION "1.1.0"
 
 /* Define to empty if `const' does not conform to ANSI C. */
 /* #undef const */
diff -r 6953ae8f40da -r 593b513f746f external/lgpl3/mpfr/lib/libmpfr/Makefile
--- a/external/lgpl3/mpfr/lib/libmpfr/Makefile  Tue Sep 04 05:05:25 2018 +0000
+++ b/external/lgpl3/mpfr/lib/libmpfr/Makefile  Tue Sep 04 05:16:25 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.17 2017/08/22 09:17:50 mrg Exp $
+#      $NetBSD: Makefile,v 1.18 2018/09/04 05:16:25 mrg Exp $
 
 .include <bsd.init.mk>
 
@@ -34,6 +34,7 @@
        atan2.c \
        atanh.c \
        bernoulli.c \
+       beta.c \
        buildopt.c \
        cache.c \
        cbrt.c \
@@ -75,12 +76,14 @@
        eq.c \
        erf.c \
        erfc.c \
+       exceptions.c \
        exp.c \
        exp10.c \
        exp2.c \
        exp3.c \
        exp_2.c \
        expm1.c \
+       extract.c \
        factorial.c \
        fits_intmax.c \
        fits_sint.c \
@@ -91,11 +94,14 @@
        fits_ulong.c \
        fits_ushort.c \
        fma.c \
+       fmma.c \
        fms.c \
+       fpif.c \
        frac.c \
        free_cache.c \
        frexp.c \
        gamma.c \
+       gamma_inc.c \
        gammaonethird.c \
        get_d.c \
        get_d64.c \
@@ -104,6 +110,7 @@
        get_flt.c \
        get_ld.c \
        get_patches.c \
+       get_q.c \
        get_si.c \
        get_sj.c \
        get_str.c \
@@ -134,6 +141,7 @@
        log10.c \
        log1p.c \
        log2.c \
+       log_ui.c \
        logging.c \
        min_prec.c \
        minmax.c \
@@ -150,7 +158,10 @@
        mulders.c \
        neg.c \
        next.c \
+       nrandom.c \
+       odd_p.c \
        out_str.c \
+       pool.c \
        pow.c \
        pow_si.c \
        pow_ui.c \
@@ -159,10 +170,12 @@
        print_raw.c \
        print_rnd_mode.c \
        printf.c \
+       random_deviate.c \
        rec_sqrt.c \
        reldiff.c \
        rem1.c \
        rint.c \
+       rndna.c \
        root.c \
        round_near_x.c \
        round_p.c \
@@ -176,6 +189,7 @@
        set_dfl_prec.c \
        set_exp.c \
        set_f.c \
+       set_float128.c \
        set_flt.c \
        set_inf.c \
        set_ld.c \
@@ -220,6 +234,8 @@
        swap.c \
        tan.c \
        tanh.c \
+       ubf.c \
+       uceil_exp2.c \
        uceil_log2.c \
        ufloor_log2.c \
        ui_div.c \
@@ -235,224 +251,8 @@
        zeta.c \
        zeta_ui.c
 
-SRCS+= \
-       exceptions.c \
-       extract.c \
-       uceil_exp2.c \
-       uceil_log2.c \
-       ufloor_log2.c \
-       add.c \
-       add1.c \
-       add_ui.c \
-       agm.c \
-       clear.c \
-       cmp.c \
-       cmp_abs.c \
-       cmp_si.c \
-       cmp_ui.c \
-       comparisons.c \
-       div_2exp.c \
-       div_2si.c \
-       div_2ui.c \
-       div.c \
-       div_ui.c \
-       dump.c \
-       eq.c \
-       exp10.c \
-       exp2.c \
-       exp3.c \
-       exp.c \
-       frac.c \
-       get_d.c \
-       get_exp.c \
-       get_str.c \
-       init.c \
-       inp_str.c \
-       isinteger.c \
-       isinf.c \
-       isnan.c \
-       isnum.c \
-       const_log2.c \
-       log.c \
-       modf.c \
-       mul_2exp.c \
-       mul_2si.c \
-       mul_2ui.c \
-       mul.c \
-       mul_ui.c \
-       neg.c \
-       next.c \
-       out_str.c \
-       printf.c \
-       vasprintf.c \
-       const_pi.c \
-       pow.c \
-       pow_si.c \
-       pow_ui.c \
-       print_raw.c \
-       print_rnd_mode.c \
-       reldiff.c \
-       round_prec.c \
-       set.c \
-       setmax.c \
-       setmin.c \
-       set_d.c \
-       set_dfl_prec.c \
-       set_exp.c \
-       set_rnd.c \
-       set_f.c \
-       set_prc_raw.c \
-       set_prec.c \
-       set_q.c \
-       set_si.c \
-       set_str.c \
-       set_str_raw.c \
-       set_ui.c \
-       set_z.c \
-       sqrt.c \
-       sqrt_ui.c \
-       sub.c \
-       sub1.c \
-       sub_ui.c \
-       rint.c \
-       ui_div.c \
-       ui_sub.c \
-       urandom.c \
-       urandomb.c \
-       get_z_exp.c \
-       swap.c \
-       factorial.c \
-       cosh.c \



Home | Main Index | Thread Index | Old Index