From 2f60ea913f22207452a048e4761fa308c488fd84 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 10 Nov 2023 13:50:20 +0000 Subject: [Minor] Enable fasttext on RPM based linux --- rpm/rspamd.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rpm') 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 -- cgit v1.2.3