From 415a656975f7d88bfafbc0f54c81a326b39f9fb0 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Thu, 2 Jan 2020 10:19:47 -0700 Subject: [PATCH] Disable buggy test_task_scheduler_observer. --- tbb.spec | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tbb.spec b/tbb.spec index a09e300..dc4ac16 100644 --- a/tbb.spec +++ b/tbb.spec @@ -118,6 +118,13 @@ 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 tbb_build_prefix=obj stdver=c++14 CXXFLAGS="%{optflags}" %install