From 4fab4f4771fde8dc97f494b095e0f107b4f39357be65dccf42999c27b3b75d44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Mon, 30 Mar 2020 15:55:29 +0000 Subject: [PATCH] - Update to version 2020.2 * Cross-allocator copying constructor and copy assignment operator for concurrent_vector are deprecated. * Added input_node to the flow graph API. It acts like a source_node except for being inactive by default; source_node is deprecated. * Allocator template parameter for flow graph nodes is deprecated. Set TBB_DEPRECATED_FLOW_NODE_ALLOCATOR to 1 to avoid compilation errors. * Flow graph preview hetero-features are deprecated. * Fixed the task affinity mechanism to prevent unlimited memory consumption in case the number of threads is explicitly decreased. * Fixed memory leak related NUMA support functionality in task_arena. OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=64 --- cmake-remove-include-path.patch | 22 +++------------------- tbb-2020.1.tar.gz | 3 --- tbb-2020.2.tar.gz | 3 +++ tbb.changes | 15 +++++++++++++++ tbb.spec | 6 +++--- 5 files changed, 24 insertions(+), 25 deletions(-) delete mode 100644 tbb-2020.1.tar.gz create mode 100644 tbb-2020.2.tar.gz diff --git a/cmake-remove-include-path.patch b/cmake-remove-include-path.patch index bbb10d8..7c81f0a 100644 --- a/cmake-remove-include-path.patch +++ b/cmake-remove-include-path.patch @@ -1,23 +1,7 @@ -Index: tbb-2020.0/cmake/templates/TBBConfig.cmake.in +Index: oneTBB-2020.2/cmake/templates/TBBConfigInternal.cmake.in =================================================================== ---- tbb-2020.0.orig/cmake/templates/TBBConfig.cmake.in -+++ tbb-2020.0/cmake/templates/TBBConfig.cmake.in -@@ -57,11 +57,6 @@ foreach (_tbb_component ${TBB_FIND_COMPO - if (NOT TARGET TBB::${_tbb_component}) - add_library(TBB::${_tbb_component} SHARED IMPORTED) - -- get_filename_component(_tbb_include_dir "${CMAKE_CURRENT_LIST_DIR}/@TBB_INC_REL_PATH@" ABSOLUTE) -- set_target_properties(TBB::${_tbb_component} PROPERTIES -- INTERFACE_INCLUDE_DIRECTORIES "${_tbb_include_dir}") -- unset(_tbb_include_dir) -- - if (EXISTS "${_tbb_release_lib}") - set_target_properties(TBB::${_tbb_component} PROPERTIES - IMPORTED_LOCATION_RELEASE "${_tbb_release_lib}"@TBB_IMPLIB_RELEASE@) -Index: tbb-2020.0/cmake/templates/TBBConfigInternal.cmake.in -=================================================================== ---- tbb-2020.0.orig/cmake/templates/TBBConfigInternal.cmake.in -+++ tbb-2020.0/cmake/templates/TBBConfigInternal.cmake.in +--- oneTBB-2020.2.orig/cmake/templates/TBBConfigInternal.cmake.in ++++ oneTBB-2020.2/cmake/templates/TBBConfigInternal.cmake.in @@ -57,8 +57,6 @@ foreach (_tbb_component ${TBB_FIND_COMPO if (EXISTS "${_tbb_release_lib}" OR EXISTS "${_tbb_debug_lib}") if (NOT TARGET TBB::${_tbb_component}) diff --git a/tbb-2020.1.tar.gz b/tbb-2020.1.tar.gz deleted file mode 100644 index 3c7909f..0000000 --- a/tbb-2020.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:48d51c63b16787af54e1ee4aaf30042087f20564b4eecf9a032d5568bc2f0bf8 -size 2639021 diff --git a/tbb-2020.2.tar.gz b/tbb-2020.2.tar.gz new file mode 100644 index 0000000..72d23d8 --- /dev/null +++ b/tbb-2020.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4804320e1e6cbe3a5421997b52199e3c1a3829b2ecb6489641da4b8e32faf500 +size 2637066 diff --git a/tbb.changes b/tbb.changes index 3ac4651..d925865 100644 --- a/tbb.changes +++ b/tbb.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Mar 30 15:50:42 UTC 2020 - Ismail Dönmez + +- Update to version 2020.2 + * Cross-allocator copying constructor and copy assignment operator + for concurrent_vector are deprecated. + * Added input_node to the flow graph API. It acts like a source_node + except for being inactive by default; source_node is deprecated. + * Allocator template parameter for flow graph nodes is deprecated. Set + TBB_DEPRECATED_FLOW_NODE_ALLOCATOR to 1 to avoid compilation errors. + * Flow graph preview hetero-features are deprecated. + * Fixed the task affinity mechanism to prevent unlimited memory + consumption in case the number of threads is explicitly decreased. + * Fixed memory leak related NUMA support functionality in task_arena. + ------------------------------------------------------------------- Tue Jan 21 15:25:51 UTC 2020 - Ismail Dönmez diff --git a/tbb.spec b/tbb.spec index b8fe7b8..771a038 100644 --- a/tbb.spec +++ b/tbb.spec @@ -22,13 +22,13 @@ %bcond_without python3 Name: tbb -Version: 2020.1 +Version: 2020.2 Release: 0 Summary: Threading Building Blocks (TBB) License: Apache-2.0 Group: Development/Libraries/C and C++ URL: https://www.threadingbuildingblocks.org/ -Source0: https://github.com/intel/tbb/archive/v%{version}.tar.gz#/tbb-%{version}.tar.gz +Source0: https://github.com/oneapi-src/oneTBB/archive/v%{version}.tar.gz#/tbb-%{version}.tar.gz # PATCH-FIX-OPENSUSE optflags.patch -- Use rpm optflags Patch1: optflags.patch # PATCH-FIX-OPENSUSE reproducible.patch -- Do not compile build hostname+kernel into binary @@ -115,7 +115,7 @@ details and threading mechanism for performance and scalability. This package contains the header files needed for development with tbb. %prep -%setup -q +%setup -q -n oneTBB-%{version} %autopatch -p1 %build