mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-22 17:17:03 +02:00
fflas-ffpack: update to 2.5.0.
This commit is contained in:
parent
d83da5086f
commit
eeccfaad9e
2 changed files with 40 additions and 7 deletions
35
srcpkgs/fflas-ffpack/patches/357.patch
Normal file
35
srcpkgs/fflas-ffpack/patches/357.patch
Normal file
|
@ -0,0 +1,35 @@
|
|||
From 9b6083c663096e9ca85775b79f1f27c848dbeb98 Mon Sep 17 00:00:00 2001
|
||||
From: Cyril Bouvier <cyril.bouvier@lirmm.fr>
|
||||
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<T, true, true> // integral number
|
||||
#endif
|
||||
};
|
||||
|
||||
+#ifndef __x86_64__
|
||||
+template <>
|
||||
+struct SimdChooser<uint64_t, true, true>
|
||||
+{
|
||||
+ using value = NoSimd<uint64_t>;
|
||||
+};
|
||||
+
|
||||
+template <>
|
||||
+struct SimdChooser<int64_t, true, true>
|
||||
+{
|
||||
+ using value = NoSimd<int64_t>;
|
||||
+};
|
||||
+#endif
|
||||
+
|
||||
template <class T> using Simd = typename SimdChooser<T>::value;
|
||||
|
||||
// template <class T> struct SimdChooser<T, true> {
|
|
@ -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 <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
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue