]> source.dussan.org Git - rspamd.git/commitdiff
[Minor] Enable fasttext on RPM based linux
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 10 Nov 2023 13:50:20 +0000 (13:50 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Mon, 13 Nov 2023 11:04:11 +0000 (11:04 +0000)
rpm/rspamd.spec

index c2c028d372611b1f696fa4846745f3394ba6a311..965245e29756e75796126b104a8c05a1e85960ce 100644 (file)
@@ -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