diff --git a/srcpkgs/fflas-ffpack/patches/357.patch b/srcpkgs/fflas-ffpack/patches/357.patch new file mode 100644 index 00000000000..99fd34efd93 --- /dev/null +++ b/srcpkgs/fflas-ffpack/patches/357.patch @@ -0,0 +1,35 @@ +From 9b6083c663096e9ca85775b79f1f27c848dbeb98 Mon Sep 17 00:00:00 2001 +From: Cyril Bouvier +Date: Fri, 17 Dec 2021 10:27:02 +0100 +Subject: [PATCH] Fix SimdChooser: on not x86_64 machines its value could be an + nonexistant struct + +--- + fflas-ffpack/fflas/fflas_simd.h | 14 ++++++++++++++ + 1 file changed, 14 insertions(+) + +diff --git a/fflas-ffpack/fflas/fflas_simd.h b/fflas-ffpack/fflas/fflas_simd.h +index bf5d30211..84ced0fd8 100644 +--- a/fflas-ffpack/fflas/fflas_simd.h ++++ b/fflas-ffpack/fflas/fflas_simd.h +@@ -384,6 +384,20 @@ struct SimdChooser // integral number + #endif + }; + ++#ifndef __x86_64__ ++template <> ++struct SimdChooser ++{ ++ using value = NoSimd; ++}; ++ ++template <> ++struct SimdChooser ++{ ++ using value = NoSimd; ++}; ++#endif ++ + template using Simd = typename SimdChooser::value; + + // template struct SimdChooser { diff --git a/srcpkgs/fflas-ffpack/template b/srcpkgs/fflas-ffpack/template index 557c644c00a..2aa59970358 100644 --- a/srcpkgs/fflas-ffpack/template +++ b/srcpkgs/fflas-ffpack/template @@ -1,6 +1,6 @@ # Template file for 'fflas-ffpack' pkgname=fflas-ffpack -version=2.4.3 +version=2.5.0 revision=1 build_style=gnu-configure hostmakedepends="pkg-config" @@ -10,15 +10,13 @@ short_desc="Finite Field Linear Algebra Subroutines / Package" maintainer="Gonzalo TornarĂ­a " 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 +changelog="https://github.com/linbox-team/fflas-ffpack/raw/master/ChangeLog" +distfiles="https://github.com/linbox-team/fflas-ffpack/releases/download/v${version}/fflas-ffpack-${version}.tar.gz" +checksum=dafb4c0835824d28e4f823748579be6e4c8889c9570c6ce9cce1e186c3ebbb23 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" + configure_args="--without-archnative" fi