From 369e2bec747f3c3f1ce3f66d76fe53202d993a74 Mon Sep 17 00:00:00 2001 From: Shahzad Malik Muzaffar Date: Tue, 27 Jul 2021 17:37:05 +0200 Subject: [PATCH] [TBB] Updated to version v2021.3.0 with patches for ASAN and PPC --- tbb.spec | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tbb.spec b/tbb.spec index e79b450b011..788654bacbe 100644 --- a/tbb.spec +++ b/tbb.spec @@ -1,21 +1,21 @@ -### RPM external tbb v2021.2.0 +### RPM external tbb v2021.3.0 -%ifarch x86_64 %define tag %{realversion} %define branch onetbb_2021 %define github_user oneapi-src -%else -%define tag b5b7f777b26124d67554171763d891d27aa0749a -%define branch master+fix -%define github_user mrodozov -%endif %define github_repo oneTBB Source: git+https://github.com/%{github_user}/%{github_repo}.git?obj=%{branch}/%{tag}&export=%{n}-%{realversion}&output=/%{n}-%{branch}-%{tag}.tgz +# ASAN: Use after scope in conformance_concurrent_queue +Source1: https://patch-diff.githubusercontent.com/raw/oneapi-src/oneTBB/pull/435.patch +# Remove arch macros checks for getSmallObjectIndex +Source2: https://patch-diff.githubusercontent.com/raw/oneapi-src/oneTBB/pull/461.patch Requires: hwloc BuildRequires: cmake %prep %setup -n %{n}-%{realversion} +patch -p1 < %{_sourcedir}/435.patch +patch -p1 < %{_sourcedir}/461.patch %build rm -rf %{_builddir}/build