diff --git a/math/antic/Makefile b/math/antic/Makefile index 8ec98f8600fa..983eb02b0a97 100644 --- a/math/antic/Makefile +++ b/math/antic/Makefile @@ -1,35 +1,35 @@ PORTNAME= antic DISTVERSIONPREFIX= v DISTVERSION= 0.2.5 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Algebraic Number Theory In C WWW= https://github.com/wbhart/antic LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/gpl-2.0.txt LIB_DEPENDS= libflint.so:math/flint2 \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr USES= cmake:testing USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= wbhart PLIST_FILES= include/antic/nf.h \ include/antic/nf_elem.h \ include/antic/qfb.h \ lib/libantic.so \ lib/libantic.so.0 \ lib/libantic.so.0.2.5 post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libantic.so .include diff --git a/math/arb/Makefile b/math/arb/Makefile index 71970a677ae3..6b1807cc0940 100644 --- a/math/arb/Makefile +++ b/math/arb/Makefile @@ -1,23 +1,23 @@ PORTNAME= arb DISTVERSION= 2.23.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= C library for arbitrary-precision interval arithmetic WWW= https://arblib.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libflint.so:math/flint2 \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr USES= cmake:testing USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= fredrik-johansson .include diff --git a/math/calcium/Makefile b/math/calcium/Makefile index 6bada3a1b738..0488c764bec7 100644 --- a/math/calcium/Makefile +++ b/math/calcium/Makefile @@ -1,32 +1,32 @@ PORTNAME= calcium DISTVERSION= 0.4.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Exact real and complex numbers in C WWW= https://fredrikj.net/calcium/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libantic.so:math/antic \ libarb.so:math/arb \ libflint.so:math/flint2 \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr USES= gmake USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= fredrik-johansson GNU_CONFIGURE= yes TEST_TARGET= tests # only builds tests and doesn't run them, see https://github.com/fredrik-johansson/calcium/issues/41 post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libcalcium.so.${DISTVERSION} .include diff --git a/math/cm/Makefile b/math/cm/Makefile index 60b4d9efdc31..8d79cd65ebe4 100644 --- a/math/cm/Makefile +++ b/math/cm/Makefile @@ -1,41 +1,42 @@ PORTNAME= cm DISTVERSION= 0.4.4 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://www.multiprecision.org/downloads/ MAINTAINER= yuri@FreeBSD.org COMMENT= Library for ring class fields of imaginary quadratic number fields WWW= https://www.multiprecision.org/cm/ LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libflint.so:math/flint2 \ libgmp.so:math/gmp \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libmpfrcx.so:math/mpfrcx \ libpari.so:math/pari USES= gmake libtool localbase USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check INFO= cm # ============================================================================ # Testsuite summary for cm 0.4.4 # ============================================================================ # TOTAL: 3 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 .include diff --git a/math/e-antic/Makefile b/math/e-antic/Makefile index 5828c9176e7a..746c86ede92f 100644 --- a/math/e-antic/Makefile +++ b/math/e-antic/Makefile @@ -1,65 +1,65 @@ PORTNAME= e-antic DISTVERSION= 2.1.0 -PORTREVISION= 2 +PORTREVISION= 3 #MASTER_SITES= https://www.labri.fr/perso/vdelecro/e-antic/ CATEGORIES= math MAINTAINER= thierry@FreeBSD.org COMMENT= Real Embedded Algebraic Number Theory In C WWW= https://flatsurf.github.io/e-antic/ LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual BUILD_DEPENDS= ${PY_SETUPTOOLS} LIB_DEPENDS= libarb.so:math/arb \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libantic.so:math/antic \ libflint.so:math/flint2 \ libboost_thread.so:devel/boost-libs USES= autoreconf compiler:c++11-lang gmake libtool localbase \ python USE_GITHUB= yes ANTIC_TAG= f4e8a60 CATCH_TAG= 62fd660 CEREAL_TAG= ebef1e9 FLINT_TAG= ae7ec89 GH_ACCOUNT= flatsurf catchorg:c1 USCiLab:c2 wbhart:f GH_PROJECT= ${PORTNAME} antic:a Catch2:c1 cereal:c2 flint2:f GH_TAGNAME= ${ANTIC_TAG}:a ${CATCH_TAG}:c1 ${CEREAL_TAG}:c2 ${FLINT_TAG}:f GH_SUBDIR= libeantic/upstream/antic:a \ libeantic/upstream/flint:f \ libeantic/test/external/catch2:c1 \ libeantic/test/external/cereal:c2 LIBS+= "-lm" GNU_CONFIGURE= yes # pytest requires cppyy, doc requires standardese CONFIGURE_ARGS= --without-byexample \ --without-benchmark \ --without-pytest \ --without-doc USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check PLIST_SUB= VER=${DISTVERSION} pre-extract: ${MKDIR} ${WRKDIR}/flint-${FLINT_TAG} ${LN} -sf ${WRKDIR}/flint-${FLINT_TAG} ${WRKDIR}/flint2-${FLINT_TAG} ${RMDIR} ${WRKDIR}/flint-${FLINT_TAG} post-install: ${REINPLACE_CMD} -e 's|${STAGEDIR}||' \ ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyeantic/install_files.txt ${RM} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyeantic/install_files.txt.bak ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py -d \ ${PYTHONPREFIX_SITELIBDIR} -f ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py -d \ ${PYTHONPREFIX_SITELIBDIR} -f ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} .include diff --git a/math/eclib/Makefile b/math/eclib/Makefile index e196a6a53df3..dae564eadd32 100644 --- a/math/eclib/Makefile +++ b/math/eclib/Makefile @@ -1,33 +1,33 @@ PORTNAME= eclib PORTVERSION= 20250627 -PORTREVISION= 1 +PORTREVISION= 2 DISTVERSIONPREFIX= v CATEGORIES= math MAINTAINER= thierry@FreeBSD.org COMMENT= C++ library for arithmetic on elliptic curves WWW= https://johncremona.github.io/mwrank/index.html LICENSE= GPLv2 LIB_DEPENDS= libntl.so:math/ntl \ libpari.so:math/pari \ libflint.so:math/flint2 \ libboost_thread.so:devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= JohnCremona USES= autoreconf compiler:c++17-lang libtool localbase OPTIONS_DEFINE= DOCS LIBS+= "-lm" GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_CXXSTD= c++17 CONFIGURE_ARGS= --with-flint=${LOCALBASE} --with-boost=${LOCALBASE} INSTALL_TARGET= install-strip USE_LDCONFIG= yes .include diff --git a/math/flint/Makefile b/math/flint/Makefile index 06888de4f74e..1d9f9a645db3 100644 --- a/math/flint/Makefile +++ b/math/flint/Makefile @@ -1,52 +1,52 @@ PORTNAME= flint -DISTVERSION= 3.3.1 +DISTVERSION= 3.5.0 CATEGORIES= math MASTER_SITES= http://www.flintlib.org/download/ MAINTAINER= yuri@FreeBSD.org COMMENT= Fast library for number theory WWW= https://flintlib.org \ https://github.com/flintlib/flint LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr \ libopenblas.so:math/openblas USES= compiler:c++11-lang gmake localbase pkgconfig python:build # cmake is only intended for Widows, see https://github.com/flintlib/flint/issues/2251#issuecomment-2720292171 USE_LDCONFIG= yes GNU_CONFIGURE= yes .if !defined(WITH_DEBUG) CONFIGURE_ARGS= --disable-debug .endif TEST_TARGET= check OPTIONS_DEFINE= NTL OPTIONS_GROUP= OPTIMIZATIONS OPTIONS_GROUP_OPTIMIZATIONS= AVX2 AVX512 OPTIONS_DEFAULT= NTL AVX2_DESC= Enable AVX2 instructions AVX2_CONFIGURE_ENABLE= avx2 AVX512_DESC= Enable AVX512 instructions AVX512_CONFIGURE_ENABLE= avx512 NTL_DESC= Victor Shoup's Number Theory Library NTL_CONFIGURE_WITH= ntl NTL_LIB_DEPENDS= libntl.so:math/ntl MAKE_ENV+= VERBOSE=1 MAKE_ARGS+= VERBOSE=1 -post-install: +xpost-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libflint.so.21.0.0 -# tests as of 3.3.1: All tests passed. +# tests as of 3.5.0: All tests passed. .include diff --git a/math/flint/distinfo b/math/flint/distinfo index 73745c05e495..4c452e4fcc39 100644 --- a/math/flint/distinfo +++ b/math/flint/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1757637266 -SHA256 (flint-3.3.1.tar.gz) = 64d70e513076cfa971e0410b58c1da5d35112913e9a56b44e2c681b459d3eafb -SIZE (flint-3.3.1.tar.gz) = 8400253 +TIMESTAMP = 1777225567 +SHA256 (flint-3.5.0.tar.gz) = 3982f385f00610a944e0152eb0a29893b2366fa640e8f5f3076c47564cf7e2a6 +SIZE (flint-3.5.0.tar.gz) = 9095766 diff --git a/math/flint/pkg-plist b/math/flint/pkg-plist index 54ce9b9d01cb..415cdb24ab39 100644 --- a/math/flint/pkg-plist +++ b/math/flint/pkg-plist @@ -1,179 +1,180 @@ 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_types.h include/flint/ca_vec.h include/flint/calcium.h include/flint/config.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/flint-config.h include/flint/flint-mparam.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_mpoly_q.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_ore_poly.h include/flint/gr_poly.h +include/flint/gr_series.h include/flint/gr_special.h include/flint/gr_types.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_asm_gnu.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/mpn_mod.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/nfloat.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/radix.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.21 -lib/libflint.so.21.0.0 +lib/libflint.so.23 +lib/libflint.so.23.0.0 libdata/pkgconfig/flint.pc diff --git a/math/libnormaliz/Makefile b/math/libnormaliz/Makefile index d3d6d17a48c3..d8a565b32a0e 100644 --- a/math/libnormaliz/Makefile +++ b/math/libnormaliz/Makefile @@ -1,56 +1,56 @@ # PORTNAME block PORTNAME= libnormaliz DISTVERSION= 3.9.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MASTER_SITES= https://github.com/Normaliz/Normaliz/releases/download/v${PORTVERSION}/ DISTNAME= normaliz-${PORTVERSION} # MAINTAINER block MAINTAINER= moritz@schmi.tt COMMENT= Compute Hilbert bases and enumerative data of rational polyhedra WWW= https://www.normaliz.uni-osnabrueck.de CONFLICTS_BUILD= e-antic # math/e-antic should be a dependency but it fails: https://github.com/Normaliz/Normaliz/issues/380 # LICENSE block LICENSE= GPLv3+ LICENSE_FILE= ${WRKSRC}/COPYING # Dependencies block LIB_DEPENDS= libgmp.so:math/gmp \ libnauty.so:math/nauty # USES block USES= autoreconf compiler:c++11-lang gmake libtool localbase USE_LDCONFIG= yes # bsd.ports.mk block GNU_CONFIGURE= yes INSTALL_TARGET= install-strip TEST_TARGET= check # at least one test is known to fail: https://github.com/Normaliz/Normaliz/issues/378 # Options block OPTIONS_DEFINE= COCOA DOCS FLINT OPENMP COCOA_DESC= Link with libcocoa.a (might cause circular dependency) FLINT_DESC= Link with libflint.so COCOA_BUILD_DEPENDS= ${LOCALBASE}/lib/libcocoa.a:math/cocoalib COCOA_CONFIGURE_WITH= cocoalib COCOA_BROKEN= fails to compile a test program, see https://github.com/Normaliz/Normaliz/issues/379 FLINT_LIB_DEPENDS= libflint.so:math/flint2 \ libmpfr.so:math/mpfr FLINT_CONFIGURE_WITH= flint FLINT_LDFLAGS= -lpthread OPENMP_CONFIGURE_ENABLE= openmp post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_MAN} ${WRKSRC}/doc/Normaliz.pdf ${STAGEDIR}${DOCSDIR} .include diff --git a/math/linbox/Makefile b/math/linbox/Makefile index a188766df4bb..151dd86b87b7 100644 --- a/math/linbox/Makefile +++ b/math/linbox/Makefile @@ -1,71 +1,72 @@ PORTNAME= linbox PORTVERSION= 1.7.1 +PORTREVISION= 1 DISTVERSIONPREFIX= v CATEGORIES= math MAINTAINER= thierry@FreeBSD.org COMMENT= C++ library for exact, high-performance linear algebra WWW= https://linalg.org/ LICENSE= GPLv2 LGPL21 LICENSE_COMB= dual BUILD_DEPENDS= fflas-ffpack-config:math/fflas-ffpack LIB_DEPENDS= libgmp.so:math/gmp \ libgivaro.so:math/givaro RUN_DEPENDS= bash:shells/bash USE_GITHUB= yes GH_ACCOUNT= linbox-team USES= autoreconf blaslapack:openblas compiler:c++11-lang gmake \ libtool localbase pkgconfig shebangfix SHEBANG_FILES= benchmarks/perfpublisher.sh linbox-auto-install.sh \ linbox-config.in tests/jenkins-maker.sh \ tests/perfpublisher.sh tests/test_leak.sh USE_CXXSTD= c++14 GNU_CONFIGURE_MANPREFIX=${PREFIX}/share OPTIONS_DEFINE= DOXYGEN OPTIONS_RADIO= SIZE OPTIONS_RADIO_SIZE= FULL MIN OPTIONS_DEFAULT= FULL OPTIONS_SUB= yes MIN_DESC= Lightweight package, with less dependencies MIN_CONFIGURE_ON= --without-saclib --without-ocl FULL_DESC= Complete package with all its dependencies FULL_BUILD_DEPENDS= gnuplot:math/gnuplot \ opencl>0:devel/opencl FULL_LIB_DEPENDS= libflint.so:math/flint2 \ libfplll.so:math/fplll \ libiml.so:math/iml \ libmpfr.so:math/mpfr \ libntl.so:math/ntl \ libOpenCL.so:devel/ocl-icd \ libtinyxml2.so:textproc/tinyxml2 FULL_RUN_DEPENDS= gnuplot:math/gnuplot FULL_USES= ghostscript FULL_CONFIGURE_WITH= flint fplll ghostscript gnuplot iml mpfr ntl ocl DOXYGEN_VARS= BINARY_ALIAS=sed=${LOCALBASE}/bin/gsed DOXYGEN_CONFIGURE_ENABLE=doc DOXYGEN_CONFIGURE_WITH= docdir=${DOCSDIR} DOXYGEN_BUILD_DEPENDS= gsed:textproc/gsed \ dot:graphics/graphviz \ doxygen:devel/doxygen GNU_CONFIGURE= yes USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check .if defined(PACKAGE_BUILDING) CONFIGURE_ARGS+=--disable-sse --disable-sse2 --disable-sse3 --disable-ssse3 \ --disable-sse41 --disable-sse42 --disable-fma --disable-fma4 \ --disable-avx --disable-avx2 .endif .include diff --git a/math/mppp/Makefile b/math/mppp/Makefile index 9bc824eb201e..a816673c03c0 100644 --- a/math/mppp/Makefile +++ b/math/mppp/Makefile @@ -1,63 +1,64 @@ PORTNAME= mppp DISTVERSIONPREFIX= v DISTVERSION= 2.0.0 +PORTREVISION= 1 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Multiprecision for modern C++ WWW= https://github.com/bluescarni/mppp LICENSE= MPL20 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp USES= cmake compiler:c++14-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= bluescarni CMAKE_ON= MPPP_ENABLE_IPO CMAKE_OFF= MPPP_WITH_QUADMATH # no quad-precision fp type on FreeBSD, requested __float128 reinstantiation, bug#238129 TEST_ARGS= -DMPPP_BUILD_TESTS=ON BENCHMARK_ARGS= -DMPPP_BUILD_BENCHMARKS=ON -DMPPP_BENCHMARK_FLINT=ON -DMPPP_BENCHMARK_BOOST=ON OPTIONS_DEFINE= ARB FMT MPC MPFR SERIALIZATION OPTIONS_DEFAULT= FMT MPC MPFR SERIALIZATION ARB_DESC= Enable features relying on Arb (requires math/flint >= 3) ARB_CMAKE_BOOL= MPPP_WITH_FLINT ARB_LIB_DEPENDS= libflint.so:math/flint ARB_IMPLIES= MPFR FMT_DESC= Enable support for the fmt library FMT_CMAKE_BOOL= MPPP_WITH_FMT FMT_LIB_DEPENDS= libfmt.so:devel/libfmt MPC_DESC= Enable features relying on MPC MPC_CMAKE_BOOL= MPPP_WITH_MPC MPC_LIB_DEPENDS= libmpc.so:math/mpc MPC_IMPLIES= MPFR MPFR_DESC= Enable features relying on MPFR MPFR_CMAKE_BOOL= MPPP_WITH_MPFR MPFR_LIB_DEPENDS= libmpfr.so:math/mpfr SERIALIZATION_DESC= Enable features relying on the Boost.Serialization library SERIALIZATION_CMAKE_BOOL= MPPP_WITH_BOOST_S11N SERIALIZATION_LIB_DEPENDS= libboost_serialization.so:devel/boost-libs do-test: @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${TEST_ARGS} ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test benchmarks: build # additionally depends on boost-libs @cd ${BUILD_WRKSRC} && \ ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} ${BENCHMARK_ARGS} ${CMAKE_SOURCE_PATH} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} benchmark .include diff --git a/math/paritwine/Makefile b/math/paritwine/Makefile index dc38e11b7233..9766c8d15046 100644 --- a/math/paritwine/Makefile +++ b/math/paritwine/Makefile @@ -1,43 +1,44 @@ PORTNAME= paritwine DISTVERSION= 0.2.2 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://www.multiprecision.org/downloads/ MAINTAINER= yuri@FreeBSD.org COMMENT= Glue library between PARI/GP and other mathematics libraries WWW= https://www.multiprecision.org/paritwine/index.html LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libarb.so:math/arb \ libcmh.so:math/cmh \ libflint.so:math/flint2 \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libgmp.so:math/gmp \ libpari.so:math/pari USES= gmake libtool localbase USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip INFO= paritwine TEST_TARGET= check # ============================================================================ # Testsuite summary for paritwine 0.2.2 # ============================================================================ # TOTAL: 4 # PASS: 3 # SKIP: 1 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 .include diff --git a/math/polymake/Makefile b/math/polymake/Makefile index 494b05958e72..65ae1b3781b2 100644 --- a/math/polymake/Makefile +++ b/math/polymake/Makefile @@ -1,205 +1,205 @@ PORTNAME= polymake DISTVERSION= 4.13 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= math MASTER_SITES= https://github.com/${PORTNAME}/${PORTNAME}/releases/download/V${DISTVERSION}/ \ https://polymake.org/lib/exe/fetch.php/download/ DISTNAME= ${PORTNAME}-${DISTVERSION}-minimal MAINTAINER= bsd@philippost.de COMMENT= Software package for research in polyhedral geometry WWW= https://www.polymake.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= boost-libs>=1.72:devel/boost-libs \ ninja:devel/ninja \ permlib>=0.2.9:math/permlib \ p5-XML-SAX>=1.02:textproc/p5-XML-SAX \ p5-XML-Writer>=0.900:textproc/p5-XML-Writer \ p5-Term-ReadLine-Gnu>=1.37:devel/p5-Term-ReadLine-Gnu \ p5-Term-ReadKey>=2.38:devel/p5-Term-ReadKey \ p5-JSON>=2.97:converters/p5-JSON LIB_DEPENDS= libcddgmp.so:math/cddlib \ libflint.so:math/flint2 \ libgmpxx.so:math/gmp \ libmpfr.so:math/mpfr RUN_DEPENDS= bash>=5.0:shells/bash \ boost-libs>=1.72:devel/boost-libs \ permlib>=0.2.9:math/permlib \ p5-XML-SAX>=1.02:textproc/p5-XML-SAX \ p5-XML-Writer>=0.900:textproc/p5-XML-Writer \ p5-Term-ReadLine-Gnu>=1.37:devel/p5-Term-ReadLine-Gnu \ p5-Term-ReadKey>=2.38:devel/p5-Term-ReadKey \ p5-JSON>=2.97:converters/p5-JSON USES= compiler:c++14-lang gmake gnome perl5 readline shebangfix \ tar:bzip2 USE_GNOME= libxml2 libxslt USE_LDCONFIG= ${PREFIX}/lib USE_PERL5= build run SHEBANG_FILES= resources/host-agent/bin/env resources/host-agent/bin/polymake SHEBANG_GLOB= *.pl *.sh # polymake's configure script expects options to be disabled by --without-option # and most options to be enabled by --with-option=DIR HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=${PREFIX} \ --exec-prefix=${PREFIX} \ --bindir=${PREFIX}/bin \ --includedir=${PREFIX}/include \ --libdir=${PREFIX}/lib \ --libexecdir=${PREFIX}/libexec/polymake \ --datadir=${PREFIX}/share/polymake \ --docdir=${DOCSDIR} \ --without-prereq \ --with-libcxx \ --with-cdd=${LOCALBASE} \ --with-flint=${LOCALBASE} \ --with-permlib=${LOCALBASE}/lib \ --without-java \ --without-javaview \ --without-native \ --without-sympol CONFIGURE_LOG= build/bundled.log # Optional features; SoPlex defaults to off due to licencsing and SCIP defaults # to off due to a dependency on libsoplex.so. OPTIONS_DEFINE= LRS NORMALIZ OPENMP OPTIMIZED_CFLAGS PPL SCIP SINGULAR SOPLEX TESTS OPTIONS_DEFAULT= BLISS LRS NORMALIZ OPENMP OPTIMIZED_CFLAGS PPL SINGULAR # Exlude lrslib on i386 and powerpc because it is marked BROKEN for those # architectures OPTIONS_EXCLUDE_i386= LRS OPTIONS_EXCLUDE_powerpc= LRS OPTIONS_SUB= yes # polymake needs either math/bliss or math/nauty to compute graph automorphism # groups OPTIONS_SINGLE= GRAPH OPTIONS_SINGLE_GRAPH= BLISS NAUTY BLISS_DESC= Compute graph automorphism groups using bliss GRAPH_DESC= Graph automorphism groups LRS_DESC= Convex hull computation and vertex enumeration NAUTY_DESC= Compute graph automorphism groups using nauty NORMALIZ_DESC= Computations in affine monoids and lattice polytopes PPL_DESC= Manipulation of convex polyhedra SCIP_DESC= Solver for mixed integer linear and nonlinear problems SINGULAR_DESC= Computation of Groebner bases SOPLEX_DESC= Solver for linear programming problems TESTS_DESC= Run bundled self tests after build BLISS_CONFIGURE_ON= --with-bliss=${LOCALBASE} BLISS_CONFIGURE_OFF= --without-bliss BLISS_BUILD_DEPENDS= bliss-graph-tool>=0.73:math/bliss # does it need the tool or the library? LIB_DEPENDS should be used in the latter case. BLISS_RUN_DEPENDS= bliss-graph-tool>=0.73:math/bliss NAUTY_CONFIGURE_ON= --with-nauty=${LOCALBASE} NAUTY_CONFIGURE_OFF= --without-nauty NAUTY_LIB_DEPENDS= libnauty.so:math/nauty LRS_CONFIGURE_ON= --with-lrs=${LOCALBASE} \ --with-lrs-include=${LOCALBASE}/include/lrslib LRS_CONFIGURE_OFF= --without-lrs LRS_LIB_DEPENDS= liblrs.so:math/lrslib NORMALIZ_CONFIGURE_ON= --with-libnormaliz=${LOCALBASE} NORMALIZ_CONFIGURE_OFF= --without-libnormaliz NORMALIZ_LIB_DEPENDS= libnormaliz.so:math/libnormaliz OPENMP_CONFIGURE_OFF= --without-openmp OPTIMIZED_CFLAGS_CFLAGS= -O3 PPL_CONFIGURE_ON= --with-ppl=${LOCALBASE} PPL_CONFIGURE_OFF= --without-ppl PPL_LIB_DEPENDS= libppl.so:devel/ppl SCIP_CONFIGURE_ON= --with-scip=${LOCALBASE} SCIP_CONFIGURE_OFF= --without-scip SCIP_LIB_DEPENDS= libscip.so:math/SCIP SINGULAR_CONFIGURE_ON= --with-singular=${LOCALBASE} SINGULAR_CONFIGURE_OFF= --without-singular SINGULAR_LIB_DEPENDS= libSingular.so:math/singular SOPLEX_CONFIGURE_ON= --with-soplex=${LOCALBASE} SOPLEX_CONFIGURE_OFF= --without-soplex SOPLEX_LIB_DEPENDS= libsoplex-pic.so:math/SoPlex TESTS_VARS= USE_PERL5+=test # The port uses the minimal distribution tarball without bundled libraries. # Set WRKSRC accordingly. WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} .include # Deal with site specific installation directory # polymake installs a perlxs module which depends on the perl configuration PERL_ARCHNAME= ${:!${PERL} -E 'use Config; print "\$Config::Config{archname}";'!} PLIST_FILES= libexec/polymake/perlx/${PERL_VERSION}/${PERL_ARCHNAME}/auto/Polymake/Ext/Ext.so # Keep track of the major version DISTVERSION_MAJ= ${:!expr ${DISTVERSION} : '\([0-9]*\).*'!} post-install: ${RLN} ${STAGEDIR}${PREFIX}/lib/libpolymake.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/lib/libpolymake.so.${DISTVERSION_MAJ} ${RLN} ${STAGEDIR}${PREFIX}/lib/libpolymake.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/lib/libpolymake.so ${STRIP_CMD} \ ${STAGEDIR}${PREFIX}/lib/libpolymake.so.${DISTVERSION} \ .for _lp in libpolymake-apps libpolymake-apps-rt ${RLN} ${STAGEDIR}${PREFIX}/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/lib/${_lp}.so.${DISTVERSION_MAJ} ${RLN} ${STAGEDIR}${PREFIX}/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/lib/${_lp}.so ${RLN} ${STAGEDIR}${PREFIX}/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so.${DISTVERSION_MAJ} ${RLN} ${STAGEDIR}${PREFIX}/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so ${RLN} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so.${DISTVERSION_MAJ} ${RLN} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so.${DISTVERSION} \ ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so # strip the libraries ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${_lp}.so.${DISTVERSION} .endfor ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/polymake/perlx/${PERL_VERSION}/${PERL_ARCHNAME}/auto/Polymake/Ext/Ext.so .for l in common fan fulton graph group matroid polytope topaz tropical ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${l}.so .endfor # only strip libexec/polymake/lib/ideal.so iff SINGULAR=on, if SINGULAR=off it # is an empty file and stripping fails .if ${PORT_OPTIONS:MSINGULAR} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/ideal.so .endif .for lp in libpolymake-apps libpolymake-apps-rt ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/polymake/lib/${lp}.so.${DISTVERSION} .endfor post-install-TESTS-on: test # Set HOME=${WRKDIR} to prevent polymake writing its .polymake directory outside # WRKDIR. test: @cd ${WRKSRC} && HOME=${WRKDIR} perl/polymake --script run_testcases .include .if ${PERL_LEVEL} >= 504200 BROKEN= polymake has not been checked for compatibility with perl 5.42 or newer .endif .include diff --git a/math/py-symengine/Makefile b/math/py-symengine/Makefile index 68d8509eebf7..c0c96dd5be86 100644 --- a/math/py-symengine/Makefile +++ b/math/py-symengine/Makefile @@ -1,37 +1,38 @@ PORTNAME= symengine DISTVERSIONPREFIX= v DISTVERSION= 0.14.1 +PORTREVISION= 1 CATEGORIES= math python #MASTER_SITES= PYPI # latest release isn't compatible with math/symengine PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= yuri@FreeBSD.org COMMENT= Python library providing wrappers to SymEngine WWW= https://symengine.org/ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libarb.so:math/arb \ libecm.so:math/gmp-ecm \ libflint.so:math/flint2 \ libgmp.so:math/gmp \ libmpc.so:math/mpc \ libmpfr.so:math/mpfr \ libsymengine.so:math/symengine \ libzstd.so:archivers/zstd TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sympy>0:math/py-sympy@${PY_FLAVOR} # see https://github.com/symengine/symengine.py/issues/416 USES= cmake compiler:c++11-lang llvm:15 python USE_PYTHON= cython flavors pytest USE_GITHUB= yes GH_PROJECT= symengine.py BINARY_ALIAS= python=${PYTHON_CMD} # cmake scripts expect python executable # cmake scripts copy build type and flags from math/symengine, and ignore all local variables of that kind # tests as of 0.14.0: 363 passed, 1 skipped, 1 warning in 7.76s .include diff --git a/math/singular/Makefile b/math/singular/Makefile index bd63862b1669..9162433bdd7d 100644 --- a/math/singular/Makefile +++ b/math/singular/Makefile @@ -1,84 +1,85 @@ PORTNAME= singular PORTVERSION= ${GH_TAGNAME:S/Release-//:S/-/./g:S/p/./} +PORTREVISION= 1 #DISTVERSIONPREFIX= Release- #DISTVERSION= 4-4-0 CATEGORIES= math #MASTER_SITES= ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/${PORTVERSION:C/\./-/g}/ DIST_SUBDIR= ${PORTNAME} MAINTAINER= yuri@FreeBSD.org COMMENT= Computer algebra system for polynomial computations WWW= https://www.singular.uni-kl.de/ \ https://github.com/Singular/Singular LICENSE= GPLv3RLE LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr RUN_DEPENDS= bash:shells/bash USES= autoreconf gmake libtool ncurses perl5 pkgconfig readline shebangfix USE_CXXSTD= c++14 USE_LDCONFIG= yes USE_PERL5= build USE_GITHUB= yes GH_ACCOUNT= Singular GH_PROJECT= Singular GH_TAGNAME= Release-4-4-1 SHEBANG_FILES= Singular/surfex \ libpolys/libpolys-config.in \ libsingular-config.in GNU_CONFIGURE= yes GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share CONFIGURE_ARGS= --with-gmp=${LOCALBASE} --enable-Singular --enable-factory \ --with-libparse --disable-dependency-tracking --without-python TEST_TARGET= check PORTDOCS= * OPTIONS_DEFINE= DOCS FLINT GFAN NTL OPTIONS_DEFAULT= DOCS FLINT GFAN NTL OPTIONS_SUB= yes FLINT_DESC= Use FLINT library GFAN_DESC= Build gfanlib library (bundled) GFAN_LIB_DEPENDS= libcddgmp.so:math/cddlib NTL_DESC= Use NTL library DOCS_MASTER_SITES= ftp://jim.mathematik.uni-kl.de/pub/Math/Singular/SOURCES/${PORTVERSION:C/\./-/g}/:doc DOCS_DISTFILES= doc.tbz2:doc DOCS_INFO= ${PORTNAME} FLINT_LIB_DEPENDS= libflint.so:math/flint2 FLINT_CONFIGURE_ON= --with-flint=${LOCALBASE} FLINT_CONFIGURE_OFF= --with-flint=no GFAN_BUILD_DEPENDS= gfan_tropicalbasis:math/gfan GFAN_CONFIGURE_ENABLE= gfanlib NTL_LIB_DEPENDS= libntl.so:math/ntl \ libcddgmp.so:math/cddlib NTL_USES= compiler:c11 NTL_CONFIGURE_ON= --with-ntl=${LOCALBASE} NTL_CONFIGURE_OFF= --with-ntl=no # not a shebang but "/bin/bash" is hardcoded in some files post-patch: @${REINPLACE_CMD} -e "s|/bin/bash|${LOCALBASE}/bin/bash|g" \ ${WRKSRC}/emacs/.emacs-general post-install: @${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD} # Singular tarballs made using "make dist" (without --enable-doc-build) # do not contain built documentation (from Sagemath). post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${PREFIX}/${INFO_PATH} \ ${STAGEDIR}${DOCSDIR} (cd ${STAGEDIR}${DOCSDIR} && ${TAR} xfj ${_DISTDIR}/doc.tbz2) ${MV} ${STAGEDIR}${DOCSDIR}/singular.info \ ${STAGEDIR}${PREFIX}/${INFO_PATH} .include diff --git a/math/symengine/Makefile b/math/symengine/Makefile index bfb9ffbc6c5d..734790e599e7 100644 --- a/math/symengine/Makefile +++ b/math/symengine/Makefile @@ -1,89 +1,89 @@ PORTNAME= symengine DISTVERSIONPREFIX= v DISTVERSION= 0.14.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Fast symbolic manipulation library, written in C++ WWW= https://symengine.org \ https://github.com/symengine/symengine LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libboost_serialization.so:devel/boost-libs \ libgmp.so:math/gmp \ libzstd.so:archivers/zstd USES= cmake compiler:c++14-lang USE_GITHUB= yes USE_LDCONFIG= yes CMAKE_ON= WITH_SYMENGINE_THREAD_SAFE BUILD_SHARED_LIBS BUILD_FOR_DISTRIBUTION CMAKE_OFF= BUILD_BENCHMARKS WITH_COTIRE OPTIONS_DEFINE= ARB ECM LLVM MPC TCMALLOC ASSERT OPTIONS_SINGLE= INTCLASS OPTIONS_SINGLE_INTCLASS= GMP GMPXX BOOSTMP FLINT PIRANHA OPTIONS_DEFAULT= ARB ECM LLVM MPC FLINT # FLINT choice is based on best performance, TCMALLOC is broken due to memory corruption issues, see https://github.com/symengine/symengine.py/issues/412 INTCLASS_DESC= Integer class, use integers from: ARB_DESC= Build with Arb (interval arithmetic library) ARB_CMAKE_BOOL= WITH_ARB ARB_LIB_DEPENDS= libarb.so:math/arb \ libflint.so:math/flint2 \ libmpfr.so:math/mpfr ECM_DESC= Build with ECM support (Elliptic Curve Method) ECM_CMAKE_BOOL= WITH_ECM ECM_LIB_DEPENDS= libecm.so:math/gmp-ecm LLVM_DESC= Build with LLVM LLVM_CMAKE_BOOL= WITH_LLVM LLVM_CMAKE_ON= -DLLVM_DIR:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/llvm LLVM_USES= llvm:${LLVM_VERSION},lib MPC_DESC= Build with MPC MPC_CMAKE_BOOL= WITH_MPC MPC_LIB_DEPENDS= libmpc.so:math/mpc TCMALLOC_CMAKE_BOOL= WITH_TCMALLOC TCMALLOC_LIB_DEPENDS= libtcmalloc.so:devel/google-perftools TCMALLOC_BROKEN= associated with a suspected memory corruption problem, see https://github.com/symengine/symengine.py/issues/412 ASSERT_CMAKE_BOOL= WITH_SYMENGINE_ASSERT GMP_DESC= gmp (supports arbitrary fp precision) GMP_CMAKE_ON= -DINTEGER_CLASS:STRING=gmp GMP_LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr GMPXX_DESC= gmpxx GMPXX_CMAKE_ON= -DINTEGER_CLASS:STRING=gmpxx GMPXX_LIB_DEPENDS= libgmp.so:math/gmp BOOSTMP_DESC= boostmp (no arbitrary fp precision) BOOSTMP_CMAKE_ON= -DINTEGER_CLASS:STRING=boostmp BOOSTMP_BUILD_DEPENDS= ${LOCALBASE}/include/boost/multiprecision/cpp_int.hpp:devel/boost-libs FLINT_DESC= flint (supports arbitrary fp precision, best performance) FLINT_CMAKE_ON= -DINTEGER_CLASS:STRING=flint FLINT_LIB_DEPENDS= libflint.so:math/flint2 \ libgmp.so:math/gmp \ libmpfr.so:math/mpfr PIRANHA_DESC= piranha PIRANHA_CMAKE_ON= -DINTEGER_CLASS:STRING=piranha PIRANHA_BUILD_DEPENDS= piranha>0:math/piranha do-test: # one test fails: https://github.com/symengine/symengine/issues/1697 @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 # tests as of 0.14.0: 100% tests passed, 0 tests failed out of 66 .include