- 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
This commit is contained in:
Ismail Dönmez 2020-03-30 15:55:29 +00:00 committed by Git OBS Bridge
parent 768c08c6e0
commit 4fab4f4771
5 changed files with 24 additions and 25 deletions

View File

@ -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})

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:48d51c63b16787af54e1ee4aaf30042087f20564b4eecf9a032d5568bc2f0bf8
size 2639021

3
tbb-2020.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4804320e1e6cbe3a5421997b52199e3c1a3829b2ecb6489641da4b8e32faf500
size 2637066

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Mon Mar 30 15:50:42 UTC 2020 - Ismail Dönmez <idonmez@suse.com>
- 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 <idonmez@suse.com>

View File

@ -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