From 0a53370748e074511d152d1594015efdaec12f53 Mon Sep 17 00:00:00 2001 From: chen-jan Date: Fri, 15 Jul 2022 10:51:59 +0800 Subject: [PATCH] disable buggy test_task_schedulerl_observer --- tbb.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/tbb.spec b/tbb.spec index 98b58e0..c5bc22e 100644 --- a/tbb.spec +++ b/tbb.spec @@ -1,6 +1,6 @@ Name: tbb Version: 2020.3 -Release: 4 +Release: 5 Summary: Threading Building Blocks lets you easily write parallel C++ programs License: ASL 2.0 URL: http://threadingbuildingblocks.org/ @@ -79,6 +79,12 @@ popd make doxygen %check +#This test assumes it can create thread barriers for arbitrary numbers of +#threads, but tbb limits the number of threads spawned to a function of the +#number of CPUs available. Some of the koji builders have a small number of +#CPUs, so the test hangs waiting for threads that have not been created to +#arrive at the barrier. Skip this test until upstream fixes it. +sed -i '/test_task_scheduler_observer/d' build/Makefile.test make test %{?_smp_mflags} tbb_build_prefix=obj stdver=c++14 CXXFLAGS="$RPM_OPT_FLAGS" %install @@ -147,6 +153,9 @@ rm %{buildroot}%{_libdir}/cmake/tbb/README.rst %{python3_sitearch}/__pycache__/TBB* %changelog +* Fri Jul 15 2022 chenchen - 2020.3-5 +- disable buggy test_task_schedulerl_observer. + * Fri Jul 2 2021 Hugel - 2020.3-4 - Add multiple threads to make test -- Gitee