From 9a4f4c221f69b47e638fde337fa5edcebdd9598b Mon Sep 17 00:00:00 2001 From: Hugel <2712504175@qq.com> Date: Fri, 2 Jul 2021 09:42:45 +0800 Subject: [PATCH] Add multiple threads to make test --- tbb.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tbb.spec b/tbb.spec index c5285b4..98b58e0 100644 --- a/tbb.spec +++ b/tbb.spec @@ -1,6 +1,6 @@ Name: tbb Version: 2020.3 -Release: 3 +Release: 4 Summary: Threading Building Blocks lets you easily write parallel C++ programs License: ASL 2.0 URL: http://threadingbuildingblocks.org/ @@ -79,7 +79,7 @@ popd make doxygen %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 mkdir -p %{buildroot}/%{_libdir} @@ -147,6 +147,9 @@ rm %{buildroot}%{_libdir}/cmake/tbb/README.rst %{python3_sitearch}/__pycache__/TBB* %changelog +* Fri Jul 2 2021 Hugel - 2020.3-4 +- Add multiple threads to make test + * Wed Apr 14 2021 yangyanchao - 2020.3-3 - Link to libatomic in riscv -- Gitee