pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/parallel/threadingbuildingblocks



Module Name:    pkgsrc
Committed By:   prlw1
Date:           Thu Jul 23 12:28:40 UTC 2026

Modified Files:
        pkgsrc/parallel/threadingbuildingblocks: Makefile PLIST distinfo
        pkgsrc/parallel/threadingbuildingblocks/patches:
            patch-cmake_compilers_Clang.cmake patch-cmake_compilers_GNU.cmake

Log Message:
Update threadingbuildingblocks (oneTBB) to 2023.1.0

- XXX cargo culted flag removal
- colloidal suspension simulation runs a tad faster

Highlights:

- Significantly improved scalability for concurrent ordered containers
  on systems with many threads. This change results in greater than
  3x performance for some use cases.

- Fixed ``concurrent_queue`` and ``concurrent_bounded_queue``
  capacity preserving on copying, moving, and swapping
  (https://github.com/uxlfoundation/oneTBB/issues/1598).

- Fixed issues with Flow Graph priorities when using limited
  concurrency nodes (https://github.com/uxlfoundation/oneTBB/issues/1595).

- Added support for Python 3.14.

- ``blocked_nd_range`` is now a fully supported feature.

- Fixed a CMake configuration error on systems with non-English
  locales. Contributed by moritz-h
  (https://github.com/uxlfoundation/oneTBB/pull/1606).

- Improved performance scalability of spin_mutex::lock,
  spin_mutex::try_lock and queuing_mutex::scoped_lock::try_acquire.

- Fixed potential oversubscription issue by respecting CPU quota
  and period limitations provided via cgroups settings on Linux*
  (https://github.com/uxlfoundation/oneTBB/issues/190, https://github.c
  om/uxlfoundation/oneTBB/issues/1760).


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/parallel/threadingbuildingblocks/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/parallel/threadingbuildingblocks/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/parallel/threadingbuildingblocks/distinfo
cvs rdiff -u -r1.4 -r1.5 \
    pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_Clang.cmake
cvs rdiff -u -r1.6 -r1.7 \
    pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_GNU.cmake

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/parallel/threadingbuildingblocks/Makefile
diff -u pkgsrc/parallel/threadingbuildingblocks/Makefile:1.21 pkgsrc/parallel/threadingbuildingblocks/Makefile:1.22
--- pkgsrc/parallel/threadingbuildingblocks/Makefile:1.21       Wed Jan  7 08:48:32 2026
+++ pkgsrc/parallel/threadingbuildingblocks/Makefile    Thu Jul 23 12:28:40 2026
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.21 2026/01/07 08:48:32 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2026/07/23 12:28:40 prlw1 Exp $
 
-DISTNAME=      oneTBB-2022.0.0
+DISTNAME=      oneTBB-2023.1.0
 PKGNAME=       ${DISTNAME:S/oneTBB-/threadingbuildingblocks-/}
-PKGREVISION=   3
 CATEGORIES=    parallel
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=oneapi-src/}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=uxlfoundation/}
 GITHUB_PROJECT=        oneTBB
 GITHUB_TAG=    v${PKGVERSION_NOREV}
 

Index: pkgsrc/parallel/threadingbuildingblocks/PLIST
diff -u pkgsrc/parallel/threadingbuildingblocks/PLIST:1.6 pkgsrc/parallel/threadingbuildingblocks/PLIST:1.7
--- pkgsrc/parallel/threadingbuildingblocks/PLIST:1.6   Sat Dec  7 16:07:05 2024
+++ pkgsrc/parallel/threadingbuildingblocks/PLIST       Thu Jul 23 12:28:40 2026
@@ -1,5 +1,7 @@
-@comment $NetBSD: PLIST,v 1.6 2024/12/07 16:07:05 nia Exp $
+@comment $NetBSD: PLIST,v 1.7 2026/07/23 12:28:40 prlw1 Exp $
+include/oneapi/tbb.cppm
 include/oneapi/tbb.h
+include/oneapi/tbb/blocked_nd_range.h
 include/oneapi/tbb/blocked_range.h
 include/oneapi/tbb/blocked_range2d.h
 include/oneapi/tbb/blocked_range3d.h
@@ -37,6 +39,7 @@ include/oneapi/tbb/detail/_flow_graph_jo
 include/oneapi/tbb/detail/_flow_graph_node_impl.h
 include/oneapi/tbb/detail/_flow_graph_node_set_impl.h
 include/oneapi/tbb/detail/_flow_graph_nodes_deduction.h
+include/oneapi/tbb/detail/_flow_graph_resource_limiting.h
 include/oneapi/tbb/detail/_flow_graph_tagged_buffer_impl.h
 include/oneapi/tbb/detail/_flow_graph_trace_impl.h
 include/oneapi/tbb/detail/_flow_graph_types_impl.h
@@ -69,6 +72,7 @@ include/oneapi/tbb/memory_pool.h
 include/oneapi/tbb/mutex.h
 include/oneapi/tbb/null_mutex.h
 include/oneapi/tbb/null_rw_mutex.h
+include/oneapi/tbb/numa_allocation.h
 include/oneapi/tbb/parallel_for.h
 include/oneapi/tbb/parallel_for_each.h
 include/oneapi/tbb/parallel_invoke.h
@@ -92,6 +96,7 @@ include/oneapi/tbb/tbb_allocator.h
 include/oneapi/tbb/tbbmalloc_proxy.h
 include/oneapi/tbb/tick_count.h
 include/oneapi/tbb/version.h
+include/tbb/blocked_nd_range.h
 include/tbb/blocked_range.h
 include/tbb/blocked_range2d.h
 include/tbb/blocked_range3d.h
@@ -117,6 +122,7 @@ include/tbb/memory_pool.h
 include/tbb/mutex.h
 include/tbb/null_mutex.h
 include/tbb/null_rw_mutex.h
+include/tbb/numa_allocation.h
 include/tbb/parallel_for.h
 include/tbb/parallel_for_each.h
 include/tbb/parallel_invoke.h
@@ -147,13 +153,13 @@ lib/cmake/TBB/TBBTargets-relwithdebinfo.
 lib/cmake/TBB/TBBTargets.cmake
 lib/libtbb.so
 lib/libtbb.so.12
-lib/libtbb.so.12.14
+lib/libtbb.so.12.19
 lib/libtbbmalloc.so
 lib/libtbbmalloc.so.2
-lib/libtbbmalloc.so.2.14
+lib/libtbbmalloc.so.2.19
 lib/libtbbmalloc_proxy.so
 lib/libtbbmalloc_proxy.so.2
-lib/libtbbmalloc_proxy.so.2.14
+lib/libtbbmalloc_proxy.so.2.19
 ${PLIST.lp64}lib/pkgconfig/tbb.pc
 ${PLIST.lp32}lib/pkgconfig/tbb32.pc
 share/doc/TBB/README.md

Index: pkgsrc/parallel/threadingbuildingblocks/distinfo
diff -u pkgsrc/parallel/threadingbuildingblocks/distinfo:1.16 pkgsrc/parallel/threadingbuildingblocks/distinfo:1.17
--- pkgsrc/parallel/threadingbuildingblocks/distinfo:1.16       Fri Jun 20 14:20:32 2025
+++ pkgsrc/parallel/threadingbuildingblocks/distinfo    Thu Jul 23 12:28:40 2026
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.16 2025/06/20 14:20:32 nia Exp $
+$NetBSD: distinfo,v 1.17 2026/07/23 12:28:40 prlw1 Exp $
 
-BLAKE2s (oneTBB-2022.0.0.tar.gz) = 9019a4d91edd8f52994f3f2e72484dd6919fa6d73eb442603eb897f0c7ca8705
-SHA512 (oneTBB-2022.0.0.tar.gz) = c87b84964b2c323f61895a532968dfa6413a774c177cffbf6e798a07e74e8da5d449144875771df0a1b02657eeb2a7ae4d41c6c432dbf7ea50e3d5a9ea9f8cd3
-Size (oneTBB-2022.0.0.tar.gz) = 2654343 bytes
-SHA1 (patch-cmake_compilers_Clang.cmake) = 44641ddc7f4e5880033fa120a6d1bfcbb6cd43a7
-SHA1 (patch-cmake_compilers_GNU.cmake) = 38ce1505c3d7c77f116b6021908b17bed368ffa4
+BLAKE2s (oneTBB-2023.1.0.tar.gz) = 648e0a7ee5beab3befb9e3fd7cf4a25cc548d0178092005a8db19245b285d868
+SHA512 (oneTBB-2023.1.0.tar.gz) = c8e9b9100873d6f8514da18ca700165466a9c042d24a6ce9e8901c8996c348f2e58f0251b1eca47d33cc5f382783bfc7693bc6c451716540d4caa57339b3b535
+Size (oneTBB-2023.1.0.tar.gz) = 7722887 bytes
+SHA1 (patch-cmake_compilers_Clang.cmake) = af19f76c02f544ef7ec2c5a394da77523d3ab058
+SHA1 (patch-cmake_compilers_GNU.cmake) = c39f4a724f83631430175ea061c9dcbef6cdedb1
 SHA1 (patch-test_tbb_test__composite__node.cpp) = 1c48644e8cbee6622e2cf4a91901db217cee2ff3
 SHA1 (patch-test_tbb_test__eh__thread.cpp) = 50c2bbcbdf00cb3ef5fe206a952d30672a5e73c6

Index: pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_Clang.cmake
diff -u pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_Clang.cmake:1.4 pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_Clang.cmake:1.5
--- pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_Clang.cmake:1.4       Fri Jun 20 14:20:32 2025
+++ pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_Clang.cmake   Thu Jul 23 12:28:40 2026
@@ -1,17 +1,17 @@
-$NetBSD: patch-cmake_compilers_Clang.cmake,v 1.4 2025/06/20 14:20:32 nia Exp $
+$NetBSD: patch-cmake_compilers_Clang.cmake,v 1.5 2026/07/23 12:28:40 prlw1 Exp $
 
 Remove security hardening flags so that the mk/ infrastructure can pass
 them depending on whether they are supported by the target platform.
 
---- cmake/compilers/Clang.cmake.orig   2025-06-20 14:04:56.076853522 +0000
+--- cmake/compilers/Clang.cmake.orig   2026-07-19 16:53:28.896273751 +0000
 +++ cmake/compilers/Clang.cmake
-@@ -65,11 +65,6 @@ endif()
- # Clang flags to prevent compiler from optimizing out security checks
- set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -Wformat -Wformat-security -Werror=format-security -fPIC $<$<NOT:$<BOOL:${EMSCRIPTEN}>>:-fstack-protector-strong>)
+@@ -97,11 +97,6 @@ endif()
+     endif()
+ endif()
  
--# -z switch is not supported on MacOS
--if (NOT APPLE)
--    set(TBB_LIB_LINK_FLAGS ${TBB_LIB_LINK_FLAGS} -Wl,-z,relro,-z,now)
+-# -z switch is not supported on MacOS and Windows
+-if (NOT APPLE AND NOT WIN32)
+-    set(TBB_LIB_LINK_FLAGS ${TBB_LIB_LINK_FLAGS} -Wl,-z,relro,-z,now,-z,noexecstack)
 -endif()
 -
  set(TBB_COMMON_LINK_LIBS ${CMAKE_DL_LIBS})

Index: pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_GNU.cmake
diff -u pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_GNU.cmake:1.6 pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_GNU.cmake:1.7
--- pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_GNU.cmake:1.6 Fri Jun 20 14:20:32 2025
+++ pkgsrc/parallel/threadingbuildingblocks/patches/patch-cmake_compilers_GNU.cmake     Thu Jul 23 12:28:40 2026
@@ -1,16 +1,21 @@
-$NetBSD: patch-cmake_compilers_GNU.cmake,v 1.6 2025/06/20 14:20:32 nia Exp $
+$NetBSD: patch-cmake_compilers_GNU.cmake,v 1.7 2026/07/23 12:28:40 prlw1 Exp $
 
 Remove security hardening flags so that the mk/ infrastructure can pass
 them depending on whether they are supported by the target platform.
 
---- cmake/compilers/GNU.cmake.orig     2025-06-20 14:05:05.891314120 +0000
+--- cmake/compilers/GNU.cmake.orig     2026-07-19 16:53:28.901108647 +0000
 +++ cmake/compilers/GNU.cmake
-@@ -103,15 +103,6 @@ endif ()
+@@ -106,20 +106,6 @@ set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAG
  
  # Gnu flags to prevent compiler from optimizing out security checks
  set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -fno-strict-overflow -fno-delete-null-pointer-checks -fwrapv)
 -set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -Wformat -Wformat-security -Werror=format-security
 -    -fstack-protector-strong )
+-if (CMAKE_SYSTEM_PROCESSOR MATCHES "(AMD64|amd64|i.86|x86)" AND NOT EMSCRIPTEN)
+-    set(TBB_LIB_COMPILE_FLAGS ${TBB_LIB_COMPILE_FLAGS} $<$<NOT:$<VERSION_LESS:${CMAKE_CXX_COMPILER_VERSION},8.0>>:-fcf-protection=full>)
+-endif ()
+-set(TBB_LIB_COMPILE_FLAGS ${TBB_LIB_COMPILE_FLAGS} $<$<NOT:$<VERSION_LESS:${CMAKE_CXX_COMPILER_VERSION},8.0>>:-fstack-clash-protection>)
+-
 -# -z switch is not supported on MacOS and MinGW
 -if (NOT APPLE AND NOT MINGW)
 -    set(TBB_LIB_LINK_FLAGS ${TBB_LIB_LINK_FLAGS} -Wl,-z,relro,-z,now,-z,noexecstack)
@@ -19,5 +24,5 @@ them depending on whether they are suppo
 -  set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} $<$<NOT:$<CONFIG:Debug>>:-D_FORTIFY_SOURCE=2> )
 -endif ()
  
- # TBB malloc settings
- set(TBBMALLOC_LIB_COMPILE_FLAGS -fno-rtti -fno-exceptions)
+ if (TBB_FILE_TRIM AND CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 8 AND NOT CMAKE_CXX_COMPILER_ID MATCHES "Intel")
+     set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -ffile-prefix-map=${NATIVE_TBB_PROJECT_ROOT_DIR}/= -ffile-prefix-map=${NATIVE_TBB_RELATIVE_BIN_PATH}/=)



Home | Main Index | Thread Index | Old Index