Date: Wed, 9 Oct 2024 03:17:41 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: bb40d0ba9ac8 - main - math/flint: New port: Fast library for number theory Message-ID: <202410090317.4993HfeB007265@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb40d0ba9ac8aeacd5c7bc2f3b741f4f221a792c commit bb40d0ba9ac8aeacd5c7bc2f3b741f4f221a792c Author: wen heping <wenheping2000@hotmail.com> AuthorDate: 2024-10-09 03:16:30 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-10-09 03:17:35 +0000 math/flint: New port: Fast library for number theory --- math/Makefile | 1 + math/flint/Makefile | 33 ++++++++++ math/flint/distinfo | 3 + math/flint/pkg-descr | 9 +++ math/flint/pkg-plist | 173 +++++++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 219 insertions(+) diff --git a/math/Makefile b/math/Makefile index 2629cd659c79..634924e8efdb 100644 --- a/math/Makefile +++ b/math/Makefile @@ -339,6 +339,7 @@ SUBDIR += flann SUBDIR += flexfloat SUBDIR += flexiblas + SUBDIR += flint SUBDIR += flint2 SUBDIR += flintqs SUBDIR += flopc++ diff --git a/math/flint/Makefile b/math/flint/Makefile new file mode 100644 index 000000000000..c3e2af22d8a8 --- /dev/null +++ b/math/flint/Makefile @@ -0,0 +1,33 @@ +PORTNAME= flint +DISTVERSION= 3.1.2 +CATEGORIES= math +MASTER_SITES= http://www.flintlib.org/ + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Fast library for number theory +WWW= https://www.flintlib.org/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libgmp.so:math/gmp \ + libmpfr.so:math/mpfr \ + libopenblas.so:math/openblas + +USES= cmake compiler:c++11-lang pkgconfig python:build +USE_LDCONFIG= yes + +OPTIONS_DEFINE= NTL +OPTIONS_DEFAULT= NTL + +NTL_DESC= Victor Shoup's Number Theory Library +NTL_CMAKE_BOOL= WITH_NTL +NTL_LIB_DEPENDS= libntl.so:math/ntl + +do-test: + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_TESTING:BOOL=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test + +.include <bsd.port.mk> diff --git a/math/flint/distinfo b/math/flint/distinfo new file mode 100644 index 000000000000..55f2c2cc8341 --- /dev/null +++ b/math/flint/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1728287409 +SHA256 (flint-3.1.2.tar.gz) = fdb3a431a37464834acff3bdc145f4fe8d0f951dd5327c4c6f93f4cbac5c2700 +SIZE (flint-3.1.2.tar.gz) = 8098136 diff --git a/math/flint/pkg-descr b/math/flint/pkg-descr new file mode 100644 index 000000000000..8f27c886b5b6 --- /dev/null +++ b/math/flint/pkg-descr @@ -0,0 +1,9 @@ +FLINT is a C library for doing number theory, maintained by William Hart. + +FLINT supports arithmetic with numbers, polynomials, power series and matrices +over many base rings, including: +* Multiprecision integers and rationals +* Integers modulo n +* p-adic numbers +* Finite fields (prime and non-prime order) +* Real and complex numbers (via the Arb extension library) diff --git a/math/flint/pkg-plist b/math/flint/pkg-plist new file mode 100644 index 000000000000..930173daa916 --- /dev/null +++ b/math/flint/pkg-plist @@ -0,0 +1,173 @@ +include/flint/NTL-interface.h +include/flint/acb.h +include/flint/acb_calc.h +include/flint/acb_dft.h +include/flint/acb_dirichlet.h +include/flint/acb_elliptic.h +include/flint/acb_hypgeom.h +include/flint/acb_mat.h +include/flint/acb_modular.h +include/flint/acb_poly.h +include/flint/acb_theta.h +include/flint/acb_types.h +include/flint/acf.h +include/flint/acf_types.h +include/flint/aprcl.h +include/flint/arb.h +include/flint/arb_calc.h +include/flint/arb_fmpz_poly.h +include/flint/arb_fpwrap.h +include/flint/arb_hypgeom.h +include/flint/arb_mat.h +include/flint/arb_poly.h +include/flint/arb_types.h +include/flint/arf.h +include/flint/arf_types.h +include/flint/arith.h +include/flint/bernoulli.h +include/flint/bool_mat.h +include/flint/ca.h +include/flint/ca_ext.h +include/flint/ca_field.h +include/flint/ca_mat.h +include/flint/ca_poly.h +include/flint/ca_vec.h +include/flint/calcium.h +include/flint/crt_helpers.h +include/flint/d_mat.h +include/flint/d_vec.h +include/flint/dirichlet.h +include/flint/dlog.h +include/flint/double_extras.h +include/flint/double_interval.h +include/flint/fexpr.h +include/flint/fexpr_builtin.h +include/flint/fft.h +include/flint/fft_small.h +include/flint/fft_tuning.h +include/flint/flint-config.h +include/flint/flint.h +include/flint/fmpq.h +include/flint/fmpq_mat.h +include/flint/fmpq_mpoly.h +include/flint/fmpq_mpoly_factor.h +include/flint/fmpq_poly.h +include/flint/fmpq_types.h +include/flint/fmpq_vec.h +include/flint/fmpz.h +include/flint/fmpz_extras.h +include/flint/fmpz_factor.h +include/flint/fmpz_lll.h +include/flint/fmpz_mat.h +include/flint/fmpz_mod.h +include/flint/fmpz_mod_mat.h +include/flint/fmpz_mod_mpoly.h +include/flint/fmpz_mod_mpoly_factor.h +include/flint/fmpz_mod_poly.h +include/flint/fmpz_mod_poly_factor.h +include/flint/fmpz_mod_types.h +include/flint/fmpz_mod_vec.h +include/flint/fmpz_mpoly.h +include/flint/fmpz_mpoly_factor.h +include/flint/fmpz_mpoly_q.h +include/flint/fmpz_poly.h +include/flint/fmpz_poly_factor.h +include/flint/fmpz_poly_mat.h +include/flint/fmpz_poly_q.h +include/flint/fmpz_types.h +include/flint/fmpz_vec.h +include/flint/fmpzi.h +include/flint/fq.h +include/flint/fq_default.h +include/flint/fq_default_mat.h +include/flint/fq_default_poly.h +include/flint/fq_default_poly_factor.h +include/flint/fq_embed.h +include/flint/fq_embed_templates.h +include/flint/fq_mat.h +include/flint/fq_mat_templates.h +include/flint/fq_nmod.h +include/flint/fq_nmod_embed.h +include/flint/fq_nmod_mat.h +include/flint/fq_nmod_mpoly.h +include/flint/fq_nmod_mpoly_factor.h +include/flint/fq_nmod_poly.h +include/flint/fq_nmod_poly_factor.h +include/flint/fq_nmod_types.h +include/flint/fq_nmod_vec.h +include/flint/fq_poly.h +include/flint/fq_poly_factor.h +include/flint/fq_poly_factor_templates.h +include/flint/fq_poly_templates.h +include/flint/fq_templates.h +include/flint/fq_types.h +include/flint/fq_vec.h +include/flint/fq_vec_templates.h +include/flint/fq_zech.h +include/flint/fq_zech_embed.h +include/flint/fq_zech_mat.h +include/flint/fq_zech_mpoly.h +include/flint/fq_zech_mpoly_factor.h +include/flint/fq_zech_poly.h +include/flint/fq_zech_poly_factor.h +include/flint/fq_zech_types.h +include/flint/fq_zech_vec.h +include/flint/gettimeofday.h +include/flint/gmpcompat.h +include/flint/gr.h +include/flint/gr_generic.h +include/flint/gr_mat.h +include/flint/gr_mpoly.h +include/flint/gr_poly.h +include/flint/gr_special.h +include/flint/gr_vec.h +include/flint/hypgeom.h +include/flint/limb_types.h +include/flint/long_extras.h +include/flint/longlong.h +include/flint/longlong_asm_clang.h +include/flint/longlong_asm_gcc.h +include/flint/longlong_div_gnu.h +include/flint/longlong_msc_arm64.h +include/flint/longlong_msc_x86.h +include/flint/machine_vectors.h +include/flint/mag.h +include/flint/mpf-impl.h +include/flint/mpfr_mat.h +include/flint/mpfr_vec.h +include/flint/mpn_extras.h +include/flint/mpoly.h +include/flint/mpoly_types.h +include/flint/n_poly.h +include/flint/n_poly_types.h +include/flint/nf.h +include/flint/nf_elem.h +include/flint/nmod.h +include/flint/nmod_mat.h +include/flint/nmod_mpoly.h +include/flint/nmod_mpoly_factor.h +include/flint/nmod_poly.h +include/flint/nmod_poly_factor.h +include/flint/nmod_poly_mat.h +include/flint/nmod_types.h +include/flint/nmod_vec.h +include/flint/padic.h +include/flint/padic_mat.h +include/flint/padic_poly.h +include/flint/padic_types.h +include/flint/partitions.h +include/flint/perm.h +include/flint/profiler.h +include/flint/qadic.h +include/flint/qfb.h +include/flint/qqbar.h +include/flint/qsieve.h +include/flint/templates.h +include/flint/test_helpers.h +include/flint/thread_pool.h +include/flint/thread_support.h +include/flint/ulong_extras.h +lib/libflint.so +lib/libflint.so.19 +lib/libflint.so.19.0.0 +libdata/pkgconfig/flint.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410090317.4993HfeB007265>