Adding LinBox, a library for exact computational linear algebra.
To be used with SageMath.
This commit is contained in:
parent
1e8cb1b584
commit
1732effb26
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=533569
@ -378,6 +378,7 @@
|
||||
SUBDIR += libxlsxwriter
|
||||
SUBDIR += libxsmm
|
||||
SUBDIR += lidia
|
||||
SUBDIR += linbox
|
||||
SUBDIR += linpack
|
||||
SUBDIR += lis
|
||||
SUBDIR += lll_spect
|
||||
|
74
math/linbox/Makefile
Normal file
74
math/linbox/Makefile
Normal file
@ -0,0 +1,74 @@
|
||||
# Created by: thierry@pompo.net
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= linbox
|
||||
PORTVERSION= 1.6.3
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
COMMENT= C++ library for exact, high-performance linear algebra
|
||||
|
||||
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 examples/test.sh \
|
||||
linbox-auto-install.sh linbox-config.in tests/jenkins-maker.sh \
|
||||
tests/perfpublisher.sh tests/test_leak.sh
|
||||
|
||||
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
|
||||
|
||||
FULL_DESC= Complete package with all its dependencies
|
||||
FULL_BUILD_DEPENDS= gnuplot:math/gnuplot
|
||||
FULL_LIB_DEPENDS= libflint.so:math/flint2 \
|
||||
libfplll.so:math/fplll \
|
||||
libiml.so:math/iml \
|
||||
libm4ri.so:math/m4ri \
|
||||
libm4rie.so:math/m4rie \
|
||||
libmpfr.so:math/mpfr \
|
||||
libntl.so:math/ntl \
|
||||
libtinyxml2.so:textproc/tinyxml2
|
||||
FULL_RUN_DEPENDS= gnuplot:math/gnuplot
|
||||
FULL_USES= ghostscript
|
||||
FULL_CONFIGURE_WITH= flint fplll ghostscript gnuplot iml m4ri m4rie mpfr ntl
|
||||
|
||||
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
|
||||
# ATM expat and drivers are broken
|
||||
CONFIGURE_ARGS= --without-expat
|
||||
USE_LDCONFIG= yes
|
||||
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
|
||||
|
||||
pre-configure:
|
||||
${REINPLACE_CMD} -e 's|@LINBOXSAGE_LIBS@||' ${WRKSRC}/linbox.pc.in
|
||||
|
||||
.include <bsd.port.mk>
|
3
math/linbox/distinfo
Normal file
3
math/linbox/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1588262204
|
||||
SHA256 (linbox-team-linbox-v1.6.3_GH0.tar.gz) = ad3867b75b13c139ad30ccb9ade68a0a9c158ca99deb69d81cce1646f58e3b5e
|
||||
SIZE (linbox-team-linbox-v1.6.3_GH0.tar.gz) = 2311437
|
9
math/linbox/pkg-descr
Normal file
9
math/linbox/pkg-descr
Normal file
@ -0,0 +1,9 @@
|
||||
LinBox is a C++ template library for exact, high-performance linear algebra
|
||||
computation with dense, sparse, and structured matrices over the integers and
|
||||
over finite fields.
|
||||
|
||||
LinBox relies on closely aligned libraries fflas-ffpack (exact dense matrix
|
||||
linear algebra kernels), and Givaro (finite fields, integers, and polynomials).
|
||||
|
||||
WWW: https://linalg.org/
|
||||
WWW: https://github.com/linbox-team/linbox
|
4247
math/linbox/pkg-plist
Normal file
4247
math/linbox/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user