From ba7c30e4a663537a473f0f908b40d845d3ac1b36 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sat, 4 Apr 2020 17:50:39 +0000 Subject: [PATCH] Adding M4RIE, a library for fast arithmetic with dense matrices over GF(2^e) for 2 <= e <= 16. To be used by SageMath. --- math/Makefile | 1 + math/m4rie/Makefile | 27 +++++++++++++++++++++++++++ math/m4rie/distinfo | 3 +++ math/m4rie/pkg-descr | 5 +++++ math/m4rie/pkg-plist | 20 ++++++++++++++++++++ 5 files changed, 56 insertions(+) create mode 100644 math/m4rie/Makefile create mode 100644 math/m4rie/distinfo create mode 100644 math/m4rie/pkg-descr create mode 100644 math/m4rie/pkg-plist diff --git a/math/Makefile b/math/Makefile index d4b9769e7448..645663f52287 100644 --- a/math/Makefile +++ b/math/Makefile @@ -379,6 +379,7 @@ SUBDIR += ltl SUBDIR += ltl2ba SUBDIR += m4ri + SUBDIR += m4rie SUBDIR += mate-calc SUBDIR += math77 SUBDIR += mathgl diff --git a/math/m4rie/Makefile b/math/m4rie/Makefile new file mode 100644 index 000000000000..c3b4dfc8ebbc --- /dev/null +++ b/math/m4rie/Makefile @@ -0,0 +1,27 @@ +# Created by: thierry@pompo.net +# $FreeBSD$ + +PORTNAME= M4RIE +PORTVERSION= 20200115 +DISTVERSIONPREFIX= release- +CATEGORIES= math + +MAINTAINER= thierry@FreeBSD.org +COMMENT= Library for fast arithmetic with dense matrices over GF(2^e) + +LICENSE= GPLv2+ + +LIB_DEPENDS= libm4ri.so:math/m4ri + +USE_GITHUB= yes +GH_ACCOUNT= malb +GH_PROJECT= ${PORTNAME:tl} + +USES= autoreconf libtool localbase pkgconfig + +GNU_CONFIGURE= yes +USE_LDCONFIG= yes + +TEST_TARGET= check + +.include diff --git a/math/m4rie/distinfo b/math/m4rie/distinfo new file mode 100644 index 000000000000..a6c9147f9ff0 --- /dev/null +++ b/math/m4rie/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1586021030 +SHA256 (malb-m4rie-release-20200115_GH0.tar.gz) = 2d38af6afe01cd1b21baa746cb108fb262d775cc5180883592a3971fb970f357 +SIZE (malb-m4rie-release-20200115_GH0.tar.gz) = 167356 diff --git a/math/m4rie/pkg-descr b/math/m4rie/pkg-descr new file mode 100644 index 000000000000..d086dd9c6465 --- /dev/null +++ b/math/m4rie/pkg-descr @@ -0,0 +1,5 @@ +M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for +2<=e<=16. The name stems from the fact that is relies heavily on M4RI. + +WWW: https://bitbucket.org/malb/m4rie/src/master/ +WWW: https://github.com/malb/m4rie diff --git a/math/m4rie/pkg-plist b/math/m4rie/pkg-plist new file mode 100644 index 000000000000..77df750d2305 --- /dev/null +++ b/math/m4rie/pkg-plist @@ -0,0 +1,20 @@ +include/m4rie/blm.h +include/m4rie/conversion.h +include/m4rie/echelonform.h +include/m4rie/gf2e.h +include/m4rie/gf2x.h +include/m4rie/m4ri_functions.h +include/m4rie/m4rie.h +include/m4rie/mzd_poly.h +include/m4rie/mzd_ptr.h +include/m4rie/mzd_slice.h +include/m4rie/mzed.h +include/m4rie/newton_john.h +include/m4rie/permutation.h +include/m4rie/ple.h +include/m4rie/strassen.h +include/m4rie/trsm.h +lib/libm4rie-0.0.20200115.so +lib/libm4rie.a +lib/libm4rie.so +libdata/pkgconfig/m4rie.pc