Tomáš Chvátal 2020-04-06 08:08:48 +00:00 committed by Git OBS Bridge
parent ce750d2917
commit 9510dd0e3f

View File

@ -44,6 +44,7 @@ BuildRequires: %{python_module cffi}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module ipython}
BuildRequires: %{python_module llvmlite >= 0.31}
BuildRequires: %{python_module numba >= %{version}}
BuildRequires: %{python_module numpy-devel >= 1.11}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module scipy >= 0.16}
@ -115,8 +116,8 @@ export CFLAGS="%{optflags} -fPIC"
%if %{with test}
mv numba numba_temp
export NUMBA_PARALLEL_DIAGNOSTICS=1
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitearch}
%{buildroot}%{_bindir}/numba-%{$python_bin_suffix} -s
%{python_expand export PYTHONPATH=%{$python_sitearch}
%{_bindir}/numba-%{$python_bin_suffix} -s
$python -m numba.runtests -v -b --exclude-tags='long_running' -m %{_smp_build_ncpus} -- numba.tests
}
mv numba_temp numba