|
|
|
|
|
|
|
|
BuildRequires: libicu-devel |
|
|
BuildRequires: libicu-devel |
|
|
BuildRequires: libsodium-devel |
|
|
BuildRequires: libsodium-devel |
|
|
BuildRequires: libunwind-devel |
|
|
BuildRequires: libunwind-devel |
|
|
%ifarch x86_64 |
|
|
|
|
|
BuildRequires: fasttext-devel |
|
|
|
|
|
%endif |
|
|
|
|
|
%if 0%{getenv:ASAN} |
|
|
%if 0%{getenv:ASAN} |
|
|
%if 0%{?el7} |
|
|
%if 0%{?el7} |
|
|
BuildRequires: devtoolset-10-libasan-devel |
|
|
BuildRequires: devtoolset-10-libasan-devel |
|
|
|
|
|
|
|
|
%else |
|
|
%else |
|
|
-DENABLE_LUAJIT=OFF \ |
|
|
-DENABLE_LUAJIT=OFF \ |
|
|
%endif |
|
|
%endif |
|
|
%ifarch x86_64 |
|
|
|
|
|
-DENABLE_FASTTEXT=ON \ |
|
|
-DENABLE_FASTTEXT=ON \ |
|
|
%endif |
|
|
|
|
|
|
|
|
-DFASTTEXT_ROOT_DIR=/fasttext \ |
|
|
-DENABLE_BLAS=ON |
|
|
-DENABLE_BLAS=ON |
|
|
make %{?_smp_mflags} |
|
|
make %{?_smp_mflags} |
|
|
|
|
|
|