commit bd5f6ed: [Minor] Limit fasttext to amd64 only

Vsevolod Stakhov vsevolod at rspamd.com
Sat Nov 11 12:35:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-11-11 12:29:53 +0000
URL: https://github.com/rspamd/rspamd/commit/bd5f6edde6a565566846c7df9e9e61354d8e15aa (HEAD -> master)

[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


More information about the Commits mailing list