From nobody Wed Oct 9 03:17:41 2024 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XNdP226tDz5Ykkx; Wed, 09 Oct 2024 03:17:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XNdP20gXlz4xYb; Wed, 9 Oct 2024 03:17:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728443862; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E7FnOoLkxpUIBGd2S1/fhD5vcrFVH2NRzy+6vfQ0ZlY=; b=Bp5ac7qNAP3aK1VJwjlZ6My7F1PytB8Xt6XyBYrpP6cls9zUPGfLRaWu5Dzg/39PPyROp6 EYQHD6EMQCiK40qR81BsjvzAhdx0XQrzHpuqLqSfiN+aVUqwH8WSiHUTzn09201NHIbNsL r06+UxKwk1RO8dM29JVEasRpBKHtSznHEN8zKD9biUlvn5DnL7gmvMifQyZgNVu9SWYfoL L0a3JHgx0MP4XDarR4A5dCLkAAZdSjlvfDwrhk9UAYsw33zTY9ZM7LtPXgoXRCBQPw2kxC 1OjRS8HSag7TiNfkK7tCTgCe41SuEFgv2Yn0TtZagwcRRc8tf799m/Hcd56EPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728443862; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=E7FnOoLkxpUIBGd2S1/fhD5vcrFVH2NRzy+6vfQ0ZlY=; b=oHDHlJUB5MLa5NSLDR1PpOwqsBwpAgMB6BXOQnpVZAl7u79pcqKEQh5VSBG5Te4jT9IaMI MlFVOmGfxmU+YNsCWjny9hhfJKfmujsKT3QYhb/r7AxALicU3Ip7361ZTfviU3az491ax7 OYKJx0P8jX+gOrmSg3d171g3VJZNgLj8x1+QLkhYtaU+9oL9AlLn+/8zTfufMXEYlYC1kL vD27VsXkR+V+fGPri+5UTt7Z0bvk3DBz6HyhjOJ+v5FEDjLUHqJXnN/BvOEx0ugHJ2giFm 6mbv37OvGRVTsnuHmYC4xuJbIWVf5ARxqrimtqo2qpkD23l4/0yGdiXTg2taMA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728443862; a=rsa-sha256; cv=none; b=J/EHTrkuJb6dQuVtmXkS+Nx2V/JYJiAtebhiWhqH/UAH8wn+Y/U9p0ruap0OP/DF2Lu0N9 kZEbynHBlBTCZpXt+u+vD+/2+djZlOOiPRwc1O/y3rPVwQcxqK7HRCfb2c9BacrEWanxvV jD4URcOeLI1FIp1h+Xfds/XM2ufLuh1tT/4hZtb0iP+CN5JDLV9RzVpyRNa2l7nqtwcdyL FBYnLhiyl/mrpQhW9hpAv6z5QlPKQHCnc9bewSA0gMsXhm1U0yN8tVR2C1UZwuqate5k9N DKiaUNwStUgFTwbymg4FwUssw3WKS4ZfvQdPFrVX7tAxJ25ns5Wg2+AbrOBL8w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XNdP20J5czxdW; Wed, 9 Oct 2024 03:17:42 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4993HfuT007268; Wed, 9 Oct 2024 03:17:41 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4993HfeB007265; Wed, 9 Oct 2024 03:17:41 GMT (envelope-from git) Date: Wed, 9 Oct 2024 03:17:41 GMT Message-Id: <202410090317.4993HfeB007265@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: bb40d0ba9ac8 - main - math/flint: New port: Fast library for number theory List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: bb40d0ba9ac8aeacd5c7bc2f3b741f4f221a792c Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=bb40d0ba9ac8aeacd5c7bc2f3b741f4f221a792c commit bb40d0ba9ac8aeacd5c7bc2f3b741f4f221a792c Author: wen heping AuthorDate: 2024-10-09 03:16:30 +0000 Commit: Yuri Victorovich 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 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