Hello community, here is the log from the commit of package tbb for openSUSE:Factory checked in at 2019-06-13 22:29:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tbb (Old) and /work/SRC/openSUSE:Factory/.tbb.new.4811 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tbb" Thu Jun 13 22:29:26 2019 rev:18 rq:708277 version:2019_20190605 Changes: -------- --- /work/SRC/openSUSE:Factory/tbb/tbb.changes 2019-05-17 23:36:38.966125615 +0200 +++ /work/SRC/openSUSE:Factory/.tbb.new.4811/tbb.changes 2019-06-13 22:29:29.184456515 +0200 @@ -1,0 +2,36 @@ +Fri Jun 7 10:44:30 UTC 2019 - Ismail Dönmez <idon...@suse.com> + +- Add cmake-remove-include-path.patch to remove setting include + path since we already install under /usr/include and this fixes + idiot OpenCV trying to do -isystem $TBB_INCLUDE_DIR + +------------------------------------------------------------------- +Thu Jun 6 12:22:31 UTC 2019 - Ismail Dönmez <idon...@suse.com> + +- Update to version 2019_U8 + * Fixed a bug in TBB 2019 Update 7 that could lead to incorrect memory + reallocation on Linux (https://github.com/intel/tbb/issues/148). + * Fixed enqueuing tbb::task into tbb::task_arena not to fail on threads + with no task scheduler initialized + (https://github.com/intel/tbb/issues/116). + +------------------------------------------------------------------- +Tue Jun 4 14:54:09 UTC 2019 - Ismail Dönmez <idon...@suse.com> + +- Update to version 2019_U7 + * Added TBBMALLOC_SET_HUGE_SIZE_THRESHOLD parameter to set the + lower bound for allocations that are not released back to OS + unless a cleanup is explicitly requested. + * Added zip_iterator::base() method to get the tuple of underlying + iterators. + * Improved async_node to never block a thread that sends a message + through its gateway. + * Extended decrement port of the tbb::flow::limiter_node to accept + messages of integral types. + * Removed the number_of_decrement_predecessors parameter from the + constructor of flow::limiter_node. To allow its usage, set + TBB_DEPRECATED_LIMITER_NODE_CONSTRUCTOR macro to 1. + * Added ordered associative containers: + concurrent_{map,multimap,set,multiset} (requires C++11). + +------------------------------------------------------------------- Old: ---- 2019_U6.tar.gz New: ---- 2019_U8.tar.gz cmake-remove-include-path.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tbb.spec ++++++ --- /var/tmp/diff_new_pack.Vw3czs/_old 2019-06-13 22:29:29.784456319 +0200 +++ /var/tmp/diff_new_pack.Vw3czs/_new 2019-06-13 22:29:29.788456319 +0200 @@ -16,14 +16,14 @@ # -%define rel_ver 2019_U6 +%define rel_ver 2019_U8 %define so_ver 2 %bcond_with python2 %bcond_without python3 Name: tbb -Version: 2019_20190410 +Version: 2019_20190605 Release: 0 Summary: Threading Building Blocks (TBB) License: Apache-2.0 @@ -36,6 +36,7 @@ Patch2: reproducible.patch # PATCH-FIX-OPENSUSE disable-irml.patch -- Don't try to link to irml Patch3: disable-irml.patch +Patch4: cmake-remove-include-path.patch BuildRequires: cmake BuildRequires: gcc-c++ %if %{with python2} @@ -116,9 +117,7 @@ %prep %setup -q -n %{name}-%{rel_ver} -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 +%autopatch -p1 %build make OPTFLAGS="%{optflags}" %{?_smp_mflags} tbb_build_prefix=obj @@ -162,11 +161,11 @@ mkdir -p %{buildroot}%{_libdir}/cmake/TBB # Build cmake config files -cmake -DTBB_ROOT=. -DTBB_OS=Linux -DSAVE_TO=. -P cmake/tbb_config_generator.cmake -# Fix library path -sed -i s,"get_filename_component(_tbb_lib_path.*","get_filename_component(_tbb_lib_path %{_libdir} ABSOLUTE)", TBBConfig.cmake -install -pm 0644 TBBConfig.cmake %{buildroot}%{_libdir}/cmake/TBB -install -pm 0644 TBBConfigVersion.cmake %{buildroot}%{_libdir}/cmake/TBB +cmake -DINSTALL_DIR=%{buildroot}%{_libdir}/cmake/TBB \ + -DSYSTEM_NAME=Linux \ + -DTBB_VERSION_FILE=%{buildroot}%{_includedir}/tbb/tbb_stddef.h \ + -DLIB_REL_PATH="../../" \ + -P cmake/tbb_config_installer.cmake %if %{with python2} pushd python ++++++ 2019_U6.tar.gz -> 2019_U8.tar.gz ++++++ ++++ 12083 lines of diff (skipped) ++++++ cmake-remove-include-path.patch ++++++ Index: tbb-2019_U8/cmake/templates/TBBConfig.cmake.in =================================================================== --- tbb-2019_U8.orig/cmake/templates/TBBConfig.cmake.in +++ tbb-2019_U8/cmake/templates/TBBConfig.cmake.in @@ -60,8 +60,6 @@ foreach (_tbb_component ${TBB_FIND_COMPO if (EXISTS "${_tbb_release_lib}" OR EXISTS "${_tbb_debug_lib}") if (NOT TARGET TBB::${_tbb_component}) add_library(TBB::${_tbb_component} SHARED IMPORTED) - set_target_properties(TBB::${_tbb_component} PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${CMAKE_CURRENT_LIST_DIR}/@TBB_INC_REL_PATH@") if (EXISTS "${_tbb_release_lib}") set_target_properties(TBB::${_tbb_component} PROPERTIES Index: tbb-2019_U8/cmake/templates/TBBConfigInternal.cmake.in =================================================================== --- tbb-2019_U8.orig/cmake/templates/TBBConfigInternal.cmake.in +++ tbb-2019_U8/cmake/templates/TBBConfigInternal.cmake.in @@ -43,8 +43,6 @@ foreach (_tbb_component ${TBB_FIND_COMPO if (EXISTS "${_tbb_release_lib}" OR EXISTS "${_tbb_debug_lib}") add_library(TBB::${_tbb_component} SHARED IMPORTED) - set_target_properties(TBB::${_tbb_component} PROPERTIES - INTERFACE_INCLUDE_DIRECTORIES "${_tbb_root}/include"@TBB_COMPILE_DEFINITIONS@) if (EXISTS "${_tbb_release_lib}") set_target_properties(TBB::${_tbb_component} PROPERTIES ++++++ disable-irml.patch ++++++ --- /var/tmp/diff_new_pack.Vw3czs/_old 2019-06-13 22:29:30.252456168 +0200 +++ /var/tmp/diff_new_pack.Vw3czs/_new 2019-06-13 22:29:30.256456167 +0200 @@ -1,8 +1,8 @@ -Index: tbb-2018_U2/python/setup.py +Index: tbb-2019_U8/python/setup.py =================================================================== ---- tbb-2018_U2.orig/python/setup.py -+++ tbb-2018_U2/python/setup.py -@@ -71,7 +71,7 @@ _tbb = Extension("tbb._api", ["tbb/api.i +--- tbb-2019_U8.orig/python/setup.py ++++ tbb-2019_U8/python/setup.py +@@ -67,7 +67,7 @@ _tbb = Extension("tbb._api", ["tbb/api.i extra_compile_args=compile_flags + tbb_flag, extra_link_args=tbb_flag, libraries =(['tbb'] if not use_compiler_tbb else []) + ++++++ optflags.patch ++++++ --- /var/tmp/diff_new_pack.Vw3czs/_old 2019-06-13 22:29:30.264456163 +0200 +++ /var/tmp/diff_new_pack.Vw3czs/_new 2019-06-13 22:29:30.264456163 +0200 @@ -1,8 +1,8 @@ -Index: tbb-2019_U5/build/linux.gcc.inc +Index: tbb-2019_U8/build/linux.gcc.inc =================================================================== ---- tbb-2019_U5.orig/build/linux.gcc.inc -+++ tbb-2019_U5/build/linux.gcc.inc -@@ -69,7 +69,7 @@ ifneq (,$(shell $(CONLY) -dumpversion | +--- tbb-2019_U8.orig/build/linux.gcc.inc ++++ tbb-2019_U8/build/linux.gcc.inc +@@ -65,7 +65,7 @@ ifneq (,$(shell $(CONLY) -dumpfullversio endif ifeq ($(cfg), release) ++++++ reproducible.patch ++++++ --- /var/tmp/diff_new_pack.Vw3czs/_old 2019-06-13 22:29:30.272456161 +0200 +++ /var/tmp/diff_new_pack.Vw3czs/_new 2019-06-13 22:29:30.272456161 +0200 @@ -1,8 +1,8 @@ -Index: tbb-2018_U2/build/version_info_linux.sh +Index: tbb-2019_U8/build/version_info_linux.sh =================================================================== ---- tbb-2018_U2.orig/build/version_info_linux.sh -+++ tbb-2018_U2/build/version_info_linux.sh -@@ -20,10 +20,10 @@ +--- tbb-2019_U8.orig/build/version_info_linux.sh ++++ tbb-2019_U8/build/version_info_linux.sh +@@ -16,10 +16,10 @@ # Script used to generate version info string echo "#define __TBB_VERSION_STRINGS(N) \\" @@ -15,19 +15,19 @@ echo '#N": BUILD_GCC'"\t\t"`g++ --version </dev/null 2>&1 | grep 'g++'`'" ENDL \' [ -z "$COMPILER_VERSION" ] || echo '#N": BUILD_COMPILER'"\t"$COMPILER_VERSION'" ENDL \' echo '#N": BUILD_LIBC'"\t"`getconf GNU_LIBC_VERSION | grep glibc | sed -e 's/^glibc //'`'" ENDL \' -@@ -31,4 +31,4 @@ echo '#N": BUILD_LD'"\t\t"`ld -v 2>&1 | +@@ -27,4 +27,4 @@ echo '#N": BUILD_LD'"\t\t"`ld -v 2>&1 | echo '#N": BUILD_TARGET'"\t$arch on $runtime"'" ENDL \' echo '#N": BUILD_COMMAND'"\t"$*'" ENDL \' echo "" -echo "#define __TBB_DATETIME \""`date -u`"\"" +echo "#define __TBB_DATETIME \""`date -u -r $(dirname $0)/../CHANGES`"\"" -Index: tbb-2018_U2/build/linux.inc +Index: tbb-2019_U8/build/linux.inc =================================================================== ---- tbb-2018_U2.orig/build/linux.inc -+++ tbb-2018_U2/build/linux.inc -@@ -61,7 +61,7 @@ endif +--- tbb-2019_U8.orig/build/linux.inc ++++ tbb-2019_U8/build/linux.inc +@@ -57,7 +57,7 @@ endif ifndef runtime - export gcc_version:=$(shell gcc -dumpversion) + export gcc_version:=$(shell gcc -dumpfullversion -dumpversion) os_version:=$(shell uname -r) - os_kernel_version:=$(shell uname -r | sed -e 's/-.*$$//') + os_kernel_version:=4.0