commit 2f60ea9: [Minor] Enable fasttext on RPM based linux

Vsevolod Stakhov vsevolod at rspamd.com
Fri Nov 10 13:56:03 UTC 2023


Author: Vsevolod Stakhov
Date: 2023-11-10 13:50:20 +0000
URL: https://github.com/rspamd/rspamd/commit/2f60ea913f22207452a048e4761fa308c488fd84 (HEAD -> master)

[Minor] Enable fasttext on RPM based linux

---
 rpm/rspamd.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/rpm/rspamd.spec b/rpm/rspamd.spec
index c2c028d37..965245e29 100644
--- a/rpm/rspamd.spec
+++ b/rpm/rspamd.spec
@@ -34,6 +34,7 @@ BuildRequires:    lapack-devel
 BuildRequires:    libicu-devel
 BuildRequires:    libsodium-devel
 BuildRequires:    libunwind-devel
+BuildRequires:    fasttext-devel
 %if 0%{getenv:ASAN}
 %if 0%{?el7}
 BuildRequires:    devtoolset-10-libasan-devel
@@ -157,7 +158,8 @@ rm -f %{_builddir}/luajit-build/lib/*.so || true
 %else
         -DENABLE_LUAJIT=OFF \
 %endif
-        -DENABLE_BLAS=ON
+        -DENABLE_BLAS=ON \
+        -DENABLE_FASTTEXT=ON
 make %{?_smp_mflags}
 
 %install


More information about the Commits mailing list