Add multiple threads to make test

This commit is contained in:
Hugel 2021-07-02 09:42:45 +08:00
parent d606180937
commit 9a4f4c221f

View File

@ -1,6 +1,6 @@
Name: tbb Name: tbb
Version: 2020.3 Version: 2020.3
Release: 3 Release: 4
Summary: Threading Building Blocks lets you easily write parallel C++ programs Summary: Threading Building Blocks lets you easily write parallel C++ programs
License: ASL 2.0 License: ASL 2.0
URL: http://threadingbuildingblocks.org/ URL: http://threadingbuildingblocks.org/
@ -79,7 +79,7 @@ popd
make doxygen make doxygen
%check %check
make test tbb_build_prefix=obj stdver=c++14 CXXFLAGS="$RPM_OPT_FLAGS" make test %{?_smp_mflags} tbb_build_prefix=obj stdver=c++14 CXXFLAGS="$RPM_OPT_FLAGS"
%install %install
mkdir -p %{buildroot}/%{_libdir} mkdir -p %{buildroot}/%{_libdir}
@ -147,6 +147,9 @@ rm %{buildroot}%{_libdir}/cmake/tbb/README.rst
%{python3_sitearch}/__pycache__/TBB* %{python3_sitearch}/__pycache__/TBB*
%changelog %changelog
* Fri Jul 2 2021 Hugel <genqihu1@huawei.com> - 2020.3-4
- Add multiple threads to make test
* Wed Apr 14 2021 yangyanchao <yangyanchao6@huawei.com> - 2020.3-3 * Wed Apr 14 2021 yangyanchao <yangyanchao6@huawei.com> - 2020.3-3
- Link to libatomic in riscv - Link to libatomic in riscv