Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tbb for openSUSE:Factory checked in at 2022-09-25 15:34:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tbb (Old) and /work/SRC/openSUSE:Factory/.tbb.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tbb" Sun Sep 25 15:34:41 2022 rev:28 rq:1005790 version:2021.6.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tbb/tbb.changes 2022-08-09 15:25:58.741218308 +0200 +++ /work/SRC/openSUSE:Factory/.tbb.new.2275/tbb.changes 2022-09-25 15:34:49.723554384 +0200 @@ -1,0 +2,25 @@ +Sat Sep 24 12:16:41 UTC 2022 - Dirk M??ller <[email protected]> + +- update to 2021.6.0: + * Improved support and use of the latest C++ standards for parallel_sort that + allows using this algorithm with user-defined and standard library-defined + objects with modern semantics. + * The following features are now fully functional: task_arena extensions, + collaborative_call_once, adaptive mutexes, heterogeneous overloads for + concurrent_hash_map, and task_scheduler_handle. + * Added support for Windows* Server 2022 and Python 3.10. + * Memory allocator crash on a system with an incomplete /proc/meminfo + * Incorrect blocking of task stealing + * Hang due to incorrect decrement of a limiter_node + * Memory corruption in some rare cases when passing big messages in a flow graph + * Possible deadlock in a throwable flow graph node with a lightweight policy. + The lightweight policy is now ignored for functors that can throw + exceptions + * Crash when obtaining a range from empty ordered and unordered containers + * Deadlock in a concurrent_vector resize() that could happen when the new + size is less than the previous size +- drop tbb-pr609-32bit-mwaitpkg.patch (upstream) +- add 5cb212d44732947396abdd39eae1229c7cd51644.patch, 917.patch: + build on riscv64, hppa, s390x + +------------------------------------------------------------------- Old: ---- tbb-2021.5.0.tar.gz tbb-pr609-32bit-mwaitpkg.patch New: ---- 5cb212d44732947396abdd39eae1229c7cd51644.patch 917.patch tbb-2021.6.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tbb.spec ++++++ --- /var/tmp/diff_new_pack.t0Zh5d/_old 2022-09-25 15:34:50.315555811 +0200 +++ /var/tmp/diff_new_pack.t0Zh5d/_new 2022-09-25 15:34:50.319555820 +0200 @@ -40,7 +40,7 @@ %bcond_with python3 %endif Name: tbb -Version: 2021.5.0 +Version: 2021.6.0 Release: 0 Summary: Threading Building Blocks (TBB) License: Apache-2.0 @@ -48,8 +48,8 @@ URL: https://www.threadingbuildingblocks.org/ Source0: https://github.com/oneapi-src/oneTBB/archive/v%{version}.tar.gz#/tbb-%{version}.tar.gz Source99: tbb-rpmlintrc -# PATCH-FIX-UPSTREAM tbb-pr609-32bit-mwaitpkg.patch -Patch1: https://github.com/oneapi-src/oneTBB/pull/609.patch#/tbb-pr609-32bit-mwaitpkg.patch +Patch0: https://github.com/oneapi-src/oneTBB/commit/5cb212d44732947396abdd39eae1229c7cd51644.patch +Patch1: https://github.com/oneapi-src/oneTBB/pull/917.patch # PATCH-FIX-OPENSUSE cmake-remove-include-path.patch -- openCV include error Patch2: cmake-remove-include-path.patch Patch3: retry-pthread_create.patch @@ -282,7 +282,8 @@ %files %{python_files %{name}} %{python_sitearch}/tbb -%{python_sitearch}/TBB.py* +%{python_sitearch}/TBB.py +%{python_sitearch}/TBB-*py3* %{python_sitearch}/TBB-%{version}*-info %pycache_only %{python_sitearch}/__pycache__/TBB* %endif ++++++ 5cb212d44732947396abdd39eae1229c7cd51644.patch ++++++ >From 5cb212d44732947396abdd39eae1229c7cd51644 Mon Sep 17 00:00:00 2001 From: Kirigami <[email protected]> Date: Sun, 14 Aug 2022 16:21:51 +0800 Subject: [PATCH] add loongarch support (#850) * add loongarch support * update the copyright year of ittnotify_config.h --- src/tbb/tools_api/ittnotify_config.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h index f904a8e9d..5e7c0cdf5 100644 --- a/src/tbb/tools_api/ittnotify_config.h +++ b/src/tbb/tools_api/ittnotify_config.h @@ -1,5 +1,5 @@ /* - Copyright (c) 2005-2021 Intel Corporation + Copyright (c) 2005-2022 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -163,6 +163,10 @@ # define ITT_ARCH_ARM64 6 #endif /* ITT_ARCH_ARM64 */ +#ifndef ITT_ARCH_LOONGARCH64 +# define ITT_ARCH_LOONGARCH64 7 +#endif /* ITT_ARCH_LOONGARCH64 */ + #ifndef ITT_ARCH # if defined _M_IX86 || defined __i386__ # define ITT_ARCH ITT_ARCH_IA32 @@ -176,6 +180,8 @@ # define ITT_ARCH ITT_ARCH_ARM64 # elif defined __powerpc64__ # define ITT_ARCH ITT_ARCH_PPC64 +# elif defined __loongarch__ +# define ITT_ARCH ITT_ARCH_LOONGARCH64 # endif #endif ++++++ tbb-pr609-32bit-mwaitpkg.patch -> 917.patch ++++++ --- /work/SRC/openSUSE:Factory/tbb/tbb-pr609-32bit-mwaitpkg.patch 2021-11-20 02:38:49.752841723 +0100 +++ /work/SRC/openSUSE:Factory/.tbb.new.2275/917.patch 2022-09-25 15:34:48.639551774 +0200 @@ -1,51 +1,78 @@ -From 542a27fa1cfafaf76772e793549d9f4d288d03a9 Mon Sep 17 00:00:00 2001 -From: Ilya Isaev <[email protected]> -Date: Fri, 8 Oct 2021 10:18:16 +0300 -Subject: [PATCH] Detect 32 bit x86 systems while adding -mwaitpkg option +From d9049c052c99162e26f86cf2a4982d026bf7dc57 Mon Sep 17 00:00:00 2001 +From: Mo Zhou <[email protected]> +Date: Fri, 20 May 2022 09:02:53 -0400 +Subject: [PATCH 1/2] Fix build failure for s390x and hppa architectures. -Signed-off-by: Ilya Isaev <[email protected]> +Signed-off-by: Mo Zhou <[email protected]> --- - cmake/compilers/Clang.cmake | 2 +- - cmake/compilers/GNU.cmake | 2 +- - cmake/compilers/MSVC.cmake | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) + src/tbb/tools_api/ittnotify_config.h | 12 ++++++++++++ + 1 file changed, 12 insertions(+) -diff --git a/cmake/compilers/Clang.cmake b/cmake/compilers/Clang.cmake -index bb7401e34..d551d3be2 100644 ---- a/cmake/compilers/Clang.cmake -+++ b/cmake/compilers/Clang.cmake -@@ -44,7 +44,7 @@ if (NOT TBB_STRICT AND COMMAND tbb_remove_compile_flag) - endif() +diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h +index 5e7c0cdf5..411de0852 100644 +--- a/src/tbb/tools_api/ittnotify_config.h ++++ b/src/tbb/tools_api/ittnotify_config.h +@@ -167,6 +167,14 @@ + # define ITT_ARCH_LOONGARCH64 7 + #endif /* ITT_ARCH_LOONGARCH64 */ - # Enable Intel(R) Transactional Synchronization Extensions (-mrtm) and WAITPKG instructions support (-mwaitpkg) on relevant processors --if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64)") -+if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64|i.86)") - set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm $<$<NOT:$<VERSION_LESS:${CMAKE_CXX_COMPILER_VERSION},12.0>>:-mwaitpkg>) - endif() ++#ifndef ITT_ARCH_S390X ++# define ITT_ARCH_S390X 8 ++#endif /* ITT_ARCH_S390X */ ++ ++#ifndef ITT_ARCH_HPPA ++# define ITT_ARCH_HPPA 9 ++#endif /* ITT_ARCH_HPPA */ ++ + #ifndef ITT_ARCH + # if defined _M_IX86 || defined __i386__ + # define ITT_ARCH ITT_ARCH_IA32 +@@ -182,6 +190,10 @@ + # define ITT_ARCH ITT_ARCH_PPC64 + # elif defined __loongarch__ + # define ITT_ARCH ITT_ARCH_LOONGARCH64 ++# elif defined __s390__ || defined __s390x__ ++# define ITT_ARCH ITT_ARCH_S390X ++# elif defined __hppa__ ++# define ITT_ARCH ITT_ARCH_HPPA + # endif + #endif -diff --git a/cmake/compilers/GNU.cmake b/cmake/compilers/GNU.cmake -index 86958e3a8..fee1c3bc2 100644 ---- a/cmake/compilers/GNU.cmake -+++ b/cmake/compilers/GNU.cmake -@@ -36,7 +36,7 @@ if (NOT CMAKE_GENERATOR MATCHES "Ninja" AND NOT CMAKE_CXX_DEPENDS_USE_COMPILER) - endif() - - # Enable Intel(R) Transactional Synchronization Extensions (-mrtm) and WAITPKG instructions support (-mwaitpkg) on relevant processors --if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64)") -+if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64|i.86)") - set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm $<$<AND:$<NOT:$<CXX_COMPILER_ID:Intel>>,$<NOT:$<VERSION_LESS:${CMAKE_CXX_COMPILER_VERSION},11.0>>>:-mwaitpkg>) - endif() + +From b0e9f8636e49c337836392d811fda403dc7102a0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Dirk=20M=C3=BCller?= <[email protected]> +Date: Sat, 24 Sep 2022 14:27:24 +0200 +Subject: [PATCH 2/2] Add riscv64 architecture detection +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Dirk M??ller <[email protected]> +--- + src/tbb/tools_api/ittnotify_config.h | 6 ++++++ + 1 file changed, 6 insertions(+) + +diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h +index 411de0852..11422fd57 100644 +--- a/src/tbb/tools_api/ittnotify_config.h ++++ b/src/tbb/tools_api/ittnotify_config.h +@@ -175,6 +175,10 @@ + # define ITT_ARCH_HPPA 9 + #endif /* ITT_ARCH_HPPA */ -diff --git a/cmake/compilers/MSVC.cmake b/cmake/compilers/MSVC.cmake -index acf0952cf..2d2c29a6f 100644 ---- a/cmake/compilers/MSVC.cmake -+++ b/cmake/compilers/MSVC.cmake -@@ -72,7 +72,7 @@ if (TBB_WINDOWS_DRIVER) - endif() ++#ifndef ITT_ARCH_RISCV64 ++# define ITT_ARCH_RISCV64 10 ++#endif /* ITT_ARCH_RISCV64 */ ++ + #ifndef ITT_ARCH + # if defined _M_IX86 || defined __i386__ + # define ITT_ARCH ITT_ARCH_IA32 +@@ -194,6 +198,8 @@ + # define ITT_ARCH ITT_ARCH_S390X + # elif defined __hppa__ + # define ITT_ARCH ITT_ARCH_HPPA ++# elif defined __riscv && __riscv_xlen == 64 ++# define ITT_ARCH ITT_ARCH_RISCV64 + # endif + #endif - if (CMAKE_CXX_COMPILER_ID MATCHES "(Clang|IntelLLVM)") -- if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64)") -+ if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86|AMD64|i.86)") - set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm -mwaitpkg) - endif() - set(TBB_OPENMP_NO_LINK_FLAG TRUE) ++++++ tbb-2021.5.0.tar.gz -> tbb-2021.6.0.tar.gz ++++++ ++++ 12898 lines of diff (skipped)
