From bd5f6edde6a565566846c7df9e9e61354d8e15aa Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Sat, 11 Nov 2023 12:29:53 +0000 Subject: [PATCH] [Minor] Limit fasttext to amd64 only --- rpm/rspamd.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/rpm/rspamd.spec b/rpm/rspamd.spec index 965245e29..e1e24510d 100644 --- a/rpm/rspamd.spec +++ b/rpm/rspamd.spec @@ -158,8 +158,10 @@ rm -f %{_builddir}/luajit-build/lib/*.so || true %else -DENABLE_LUAJIT=OFF \ %endif - -DENABLE_BLAS=ON \ - -DENABLE_FASTTEXT=ON +%ifarch x86_64 + -DENABLE_FASTTEXT=ON \ +%endif + -DENABLE_BLAS=ON make %{?_smp_mflags} %install -- 2.39.5