# Template file for 'fflas-ffpack'
pkgname=fflas-ffpack
version=2.4.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="givaro-devel openblas-devel"
depends="${makedepends}"
short_desc="Finite Field Linear Algebra Subroutines / Package"
maintainer="Gonzalo Tornaría <tornaria@cmat.edu.uy>"
license="LGPL-2.1-or-later"
homepage="http://linbox-team.github.io/fflas-ffpack/"
distfiles="https://github.com/linbox-team/fflas-ffpack/releases/download/${version}/fflas-ffpack-${version}.tar.gz"
checksum=f372783a17a9899ee9f88d4c9421d80facccb95556146dad7020d07a03791cc9
nocross=yes

build_options="native_build"

if [ -z "$build_option_native_build" ]; then
	configure_args="--enable-sse --enable-sse2
	  --disable-sse3 --disable-ssse3 --disable-sse41 --disable-sse42
	  --disable-avx --disable-avx2 --disable-fma --disable-fma4
	  --disable-avx512f --disable-avx512dq --disable-avx512vl"
fi
