pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/math
Module Name: pkgsrc
Committed By: riastradh
Date: Tue May 19 14:44:04 UTC 2020
Modified Files:
pkgsrc/math: Makefile
Added Files:
pkgsrc/math/mpfi: DESCR Makefile PLIST buildlink3.mk distinfo
pkgsrc/math/mpfi/patches: patch-tests_Makefile.am
Log Message:
mpfi: Import mpfr-1.5.4 as math/mpfr
mpfr is a multiprecision floating-point interval arithmetic library.
Derived from wip/mpfi.
To generate a diff of this commit:
cvs rdiff -u -r1.459 -r1.460 pkgsrc/math/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/math/mpfi/DESCR pkgsrc/math/mpfi/Makefile \
pkgsrc/math/mpfi/PLIST pkgsrc/math/mpfi/buildlink3.mk \
pkgsrc/math/mpfi/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/math/mpfi/patches/patch-tests_Makefile.am
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/math/Makefile
diff -u pkgsrc/math/Makefile:1.459 pkgsrc/math/Makefile:1.460
--- pkgsrc/math/Makefile:1.459 Mon Apr 27 16:52:55 2020
+++ pkgsrc/math/Makefile Tue May 19 14:44:04 2020
@@ -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+= metis
SUBDIR+= minisat
SUBDIR+= minpack
SUBDIR+= mpcomplex
+SUBDIR+= mpfi
SUBDIR+= mpfr
SUBDIR+= mprime-bin
SUBDIR+= mtl
Added files:
Index: pkgsrc/math/mpfi/DESCR
diff -u /dev/null pkgsrc/math/mpfi/DESCR:1.1
--- /dev/null Tue May 19 14:44:04 2020
+++ pkgsrc/math/mpfi/DESCR Tue May 19 14:44:04 2020
@@ -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.
Index: pkgsrc/math/mpfi/Makefile
diff -u /dev/null pkgsrc/math/mpfi/Makefile:1.1
--- /dev/null Tue May 19 14:44:04 2020
+++ pkgsrc/math/mpfi/Makefile Tue May 19 14:44:04 2020
@@ -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"
Index: pkgsrc/math/mpfi/PLIST
diff -u /dev/null pkgsrc/math/mpfi/PLIST:1.1
--- /dev/null Tue May 19 14:44:04 2020
+++ pkgsrc/math/mpfi/PLIST Tue May 19 14:44:04 2020
@@ -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
Index: pkgsrc/math/mpfi/buildlink3.mk
diff -u /dev/null pkgsrc/math/mpfi/buildlink3.mk:1.1
--- /dev/null Tue May 19 14:44:04 2020
+++ pkgsrc/math/mpfi/buildlink3.mk Tue May 19 14:44:04 2020
@@ -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
Index: pkgsrc/math/mpfi/distinfo
diff -u /dev/null pkgsrc/math/mpfi/distinfo:1.1
--- /dev/null Tue May 19 14:44:04 2020
+++ pkgsrc/math/mpfi/distinfo Tue May 19 14:44:04 2020
@@ -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
Index: pkgsrc/math/mpfi/patches/patch-tests_Makefile.am
diff -u /dev/null pkgsrc/math/mpfi/patches/patch-tests_Makefile.am:1.1
--- /dev/null Tue May 19 14:44:04 2020
+++ pkgsrc/math/mpfi/patches/patch-tests_Makefile.am Tue May 19 14:44:04 2020
@@ -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