diff options
author | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-11-10 13:50:20 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rspamd.com> | 2023-11-10 13:50:20 +0000 |
commit | 2f60ea913f22207452a048e4761fa308c488fd84 (patch) | |
tree | 4f2008580cf5f3b20595b8df4c526a36570963f5 /rpm/rspamd.spec | |
parent | d3403821bfd7a124a569854f8ed9781e0317e7e4 (diff) | |
download | rspamd-2f60ea913f22207452a048e4761fa308c488fd84.tar.gz rspamd-2f60ea913f22207452a048e4761fa308c488fd84.zip |
[Minor] Enable fasttext on RPM based linux
Diffstat (limited to 'rpm/rspamd.spec')
-rw-r--r-- | rpm/rspamd.spec | 4 |
1 files changed, 3 insertions, 1 deletions
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 |