Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math mpfi: Import mpfr-1.5.4 as math/mpfr
details: https://anonhg.NetBSD.org/pkgsrc/rev/1d3c78d72136
branches: trunk
changeset: 432169:1d3c78d72136
user: riastradh <riastradh%pkgsrc.org@localhost>
date: Tue May 19 14:44:04 2020 +0000
description:
mpfi: Import mpfr-1.5.4 as math/mpfr
mpfr is a multiprecision floating-point interval arithmetic library.
Derived from wip/mpfi.
diffstat:
math/Makefile | 3 +-
math/mpfi/DESCR | 10 +++++++++
math/mpfi/Makefile | 29 +++++++++++++++++++++++++++
math/mpfi/PLIST | 5 ++++
math/mpfi/buildlink3.mk | 15 ++++++++++++++
math/mpfi/distinfo | 7 ++++++
math/mpfi/patches/patch-tests_Makefile.am | 33 +++++++++++++++++++++++++++++++
7 files changed, 101 insertions(+), 1 deletions(-)
diffs (140 lines):
diff -r bf0ead3a44d5 -r 1d3c78d72136 math/Makefile
--- a/math/Makefile Tue May 19 14:39:56 2020 +0000
+++ b/math/Makefile Tue May 19 14:44:04 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.459 2020/04/27 16:52:55 adam Exp $
+# $NetBSD: Makefile,v 1.460 2020/05/19 14:44:04 riastradh Exp $
COMMENT= Mathematics
@@ -229,6 +229,7 @@
SUBDIR+= minisat
SUBDIR+= minpack
SUBDIR+= mpcomplex
+SUBDIR+= mpfi
SUBDIR+= mpfr
SUBDIR+= mprime-bin
SUBDIR+= mtl
diff -r bf0ead3a44d5 -r 1d3c78d72136 math/mpfi/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/mpfi/DESCR Tue May 19 14:44:04 2020 +0000
@@ -0,0 +1,10 @@
+MPFI (Multiple Precision Floating-Point Interval Library) is a library
+for arbitrary precision interval arithmetic with intervals represented
+using MPFR reliable floating-point numbers. It is based on the GNU MP
+library and on the MPFR library. The purpose of an arbitrary precision
+interval arithmetic is on the one hand to get guaranteed results,
+thanks to interval computation, and on the other hand to obtain
+accurate results, thanks to multiple precision arithmetic. The MPFI
+library is built upon MPFR to benefit from the correct roundings
+provided by MPFR, it portability, and its compliance with the IEEE 754
+standard for floating-point arithmetic.
diff -r bf0ead3a44d5 -r 1d3c78d72136 math/mpfi/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/mpfi/Makefile Tue May 19 14:44:04 2020 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2020/05/19 14:44:04 riastradh Exp $
+
+DISTNAME= mpfi-1.5.4
+CATEGORIES= math
+MASTER_SITES= https://gforge.inria.fr/frs/download.php/file/38111/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://gforge.inria.fr/projects/mpfi/
+COMMENT= Multiprecision interval arithmetic library
+LICENSE= gnu-lgpl-v2
+
+USE_TOOLS+= autoconf
+USE_TOOLS+= automake
+USE_TOOLS+= autoreconf
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+INFO_FILES= yes
+
+CONFIGURE_ARGS+= --infodir=${PREFIX}/${PKGINFODIR}
+INSTALLATION_DIRS+= ${PKGINFODIR}
+
+pre-configure:
+ cd ${WRKSRC} && ./autogen.sh
+
+TEST_TARGET= check
+
+.include "../../math/mpfr/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r bf0ead3a44d5 -r 1d3c78d72136 math/mpfi/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/mpfi/PLIST Tue May 19 14:44:04 2020 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/19 14:44:04 riastradh Exp $
+include/mpfi.h
+include/mpfi_io.h
+info/mpfi.info
+lib/libmpfi.la
diff -r bf0ead3a44d5 -r 1d3c78d72136 math/mpfi/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/mpfi/buildlink3.mk Tue May 19 14:44:04 2020 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: buildlink3.mk,v 1.1 2020/05/19 14:44:04 riastradh Exp $
+
+BUILDLINK_TREE+= mpfi
+
+.if !defined(MPFI_BUILDLINK3_MK)
+MPFI_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.mpfi+= mpfi>=1.5.4
+BUILDLINK_ABI_DEPENDS.mpfi+= mpfi>=1.5.4
+BUILDLINK_PKGSRCDIR.mpfi?= ../../math/mpfi
+
+.include "../../math/mpfr/buildlink3.mk"
+.endif # MPFI_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -mpfi
diff -r bf0ead3a44d5 -r 1d3c78d72136 math/mpfi/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/mpfi/distinfo Tue May 19 14:44:04 2020 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2020/05/19 14:44:04 riastradh Exp $
+
+SHA1 (mpfi-1.5.4.tgz) = 06c7dc6f13e67ab199fefcfdc15328ea9fc82dcb
+RMD160 (mpfi-1.5.4.tgz) = a03c5ac685f844badf95d7b006ca7ede8b7e2759
+SHA512 (mpfi-1.5.4.tgz) = 72ba7d8c950f4d4e2c7a3da8570cdcec08f75b73580cdf64c4cc3b24f8add23c46ccf78a6de2158e81bd77e6efabceebbae418988d536e7484356b8102e10ce1
+Size (mpfi-1.5.4.tgz) = 261696 bytes
+SHA1 (patch-tests_Makefile.am) = d0c41610b684c8d6e1862baed7157e40f551c469
diff -r bf0ead3a44d5 -r 1d3c78d72136 math/mpfi/patches/patch-tests_Makefile.am
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/math/mpfi/patches/patch-tests_Makefile.am Tue May 19 14:44:04 2020 +0000
@@ -0,0 +1,33 @@
+$NetBSD: patch-tests_Makefile.am,v 1.1 2020/05/19 14:44:04 riastradh Exp $
+
+Disable tests that are missing from the upstream distfile or fail to build.
+
+--- tests/Makefile.am.orig 2019-08-01 20:15:53.000000000 +0000
++++ tests/Makefile.am
+@@ -3,7 +3,7 @@ AM_CPPFLAGS = -I$(top_srcdir)/src
+
+ check_LTLIBRARIES = libmpfi-tests.la
+ libmpfi_tests_la_SOURCES = mpfi-tests.h read_data.c random.c \
+- type_i.c type_ii.c type_iii.c type_iiii.c type_iu.c type_is.c \
++ type_i.c type_ii.c type_iii.c type_iu.c type_is.c \
+ type_id.c type_if.c type_il.c type_iz.c type_iq.c type_ir.c type_iiu.c \
+ type_iis.c type_iid.c type_iiz.c type_iiq.c type_iir.c \
+ type_iui.c type_isi.c type_idi.c type_izi.c type_iqi.c \
+@@ -40,7 +40,7 @@ check_PROGRAMS = tabs tacos tacosh tadd
+ tcmp_fr tcmp_q tcmp_si tcmp_ui tcmp_z tconst_catalan \
+ tconst_euler tconst_log2 tconst_pi tcos tcosh tcot tcoth \
+ tcsc tcsch td_div td_sub tdiam tdiam_abs tdiam_rel tdiv \
+- tdiv_2exp tdiv_2si tdiv_2ui tdiv_d tdiv_ext tdiv_fr tdiv_q \
++ tdiv_2exp tdiv_2si tdiv_2ui tdiv_d tdiv_fr tdiv_q \
+ tdiv_si tdiv_ui tdiv_z terror texp texp2 texpm1 tfr_div \
+ tfr_sub tget_d tget_endpoints tget_fr thas_zero thypot \
+ tincrease tinf_p tinit tinits tinit_set tintersect tinterv_d \
+@@ -52,7 +52,7 @@ check_PROGRAMS = tabs tacos tacosh tadd
+ tis_zero tlog tlog10 tlog1p tlog2 tmag tmid tmig tmul \
+ tmul_2exp tmul_2si tmul_2ui tmul_d tmul_fr tmul_q \
+ tmul_si tmul_ui tmul_z tnan_p tneg tput_d tput_fr tput_q \
+- tput_si tput_ui tput_z tq_div tq_sub trec_sqrt tround_prec \
++ tput_si tput_ui tput_z tq_div tq_sub tround_prec \
+ tsec tsech tset tset_d tset_flt tset_fr tset_ld tset_q \
+ tset_si tset_str tset_ui tset_z tsi_div tsi_sub tsin tsinh \
+ tsqr tsqrt \
Home |
Main Index |
Thread Index |
Old Index