diff --git a/hfst-sse.diff b/hfst-sse.diff deleted file mode 100644 index 6984eef..0000000 --- a/hfst-sse.diff +++ /dev/null @@ -1,20 +0,0 @@ ---- - configure.ac | 5 ----- - 1 file changed, 5 deletions(-) - -Index: hfst-3.16.1/configure.ac -=================================================================== ---- hfst-3.16.1.orig/configure.ac -+++ hfst-3.16.1/configure.ac -@@ -647,11 +647,6 @@ CXXFLAGS="$CXXFLAGS -std=c++17" - # Needed for M_LN2 and friends - CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE -D_USE_MATH_DEFINES" - --# On 32bit x86, we need to use SSE for precise floating point arithmetics in OpenFST --AX_CHECK_COMPILE_FLAG([-msse], [CPPFLAGS="$CPPFLAGS -msse"], []) --AX_CHECK_COMPILE_FLAG([-msse2], [CPPFLAGS="$CPPFLAGS -msse2"], []) --AX_CHECK_COMPILE_FLAG([-mfpmath=sse], [CPPFLAGS="$CPPFLAGS -mfpmath=sse"], []) -- - AC_CHECK_HEADERS([ext/slist]) - - AS_IF([test "x$with_sfst" != "xno"], diff --git a/hfst.changes b/hfst.changes index 620e280..1a7e09c 100644 --- a/hfst.changes +++ b/hfst.changes @@ -4,6 +4,7 @@ Sat Jan 18 15:56:21 UTC 2025 - Jan Engelhardt - Update to release 3.16.2 * Removal of n-best paths search for log weight automata * Added an experimental C interface library +- Delete hfst-sse.diff which made i586 tests fail. ------------------------------------------------------------------- Wed Nov 20 10:58:42 UTC 2024 - Jan Engelhardt diff --git a/hfst.spec b/hfst.spec index cc3c02b..e666684 100644 --- a/hfst.spec +++ b/hfst.spec @@ -25,7 +25,6 @@ Group: Development/Tools/Other URL: https://hfst.github.io/ Source: https://github.com/hfst/hfst/archive/refs/tags/v%version.tar.gz -Patch3: hfst-sse.diff BuildRequires: autoconf BuildRequires: automake BuildRequires: bison @@ -61,6 +60,10 @@ The Helsinki Finite-State Transducer software is intended for the implementation of morphological analyzers and other tools which are based on weighted and unweighted finite-state transducer technology. +%ifarch %ix86 +On 32-bit x86, this package requires the presence of SSE2. +%endif + %package -n libhfst_c0 Summary: Helsinki Finite-State Transducer C API Library License: GPL-3.0-only