head 1.5; access; symbols pkgsrc-2026Q2:1.4.0.10 pkgsrc-2026Q2-base:1.4 pkgsrc-2026Q1:1.4.0.8 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.6 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.4 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.2 pkgsrc-2025Q2-base:1.4 pkgsrc-2022Q2:1.2.0.8 pkgsrc-2022Q2-base:1.2 pkgsrc-2022Q1:1.2.0.6 pkgsrc-2022Q1-base:1.2 pkgsrc-2021Q4:1.2.0.4 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.2 pkgsrc-2021Q3-base:1.2; locks; strict; comment @# @; 1.5 date 2026.07.23.12.28.40; author prlw1; state Exp; branches; next 1.4; commitid 9qVYHhEFkH9o4MOG; 1.4 date 2025.06.20.14.20.32; author nia; state Exp; branches; next 1.3; commitid 4iccUbJ8U9nZyDZF; 1.3 date 2022.07.01.16.21.08; author adam; state dead; branches; next 1.2; commitid UIjpfTHumCpA6dKD; 1.2 date 2021.07.29.20.03.28; author fcambus; state Exp; branches; next 1.1; commitid whsUSaXkus1waV2D; 1.1 date 2021.07.14.17.56.52; author adam; state Exp; branches; next ; commitid sBFQtuVj7Ui4XY0D; desc @@ 1.5 log @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). @ text @$NetBSD: patch-cmake_compilers_Clang.cmake,v 1.4 2025/06/20 14:20:32 nia 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 2026-07-19 16:53:28.896273751 +0000 +++ cmake/compilers/Clang.cmake @@@@ -97,11 +97,6 @@@@ endif() endif() endif() -# -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}) if (NOT CMAKE_CXX_FLAGS MATCHES "_FORTIFY_SOURCE") @ 1.4 log @threadbuildingblocks: Portability fixes. Do not assume that these hardening flags are supported by the target platform. @ text @d1 1 a1 1 $NetBSD$ d6 1 a6 1 --- cmake/compilers/Clang.cmake.orig 2025-06-20 14:04:56.076853522 +0000 d8 3 a10 3 @@@@ -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 $<$>:-fstack-protector-strong>) d12 3 a14 3 -# -z switch is not supported on MacOS -if (NOT APPLE) - set(TBB_LIB_LINK_FLAGS ${TBB_LIB_LINK_FLAGS} -Wl,-z,relro,-z,now) @ 1.3 log @threadingbuildingblocks: updated to 2021.5.0 oneTBB 2021.5.0 What's New Reworked synchronization mechanism to reduce contention when multiple task_arena’s are used concurrently. Fixed sporadic memory corruption. Enabled Microsoft Visual Studio* 2022 and Python 3.9 support. Preview features Extended task_group interface with a new run_and_wait overload to accept task_handle. Fixed Issues Fixed possible correctness issue in queuing_rw_mutex on non-Intel platforms. Fixed GCC* 11 warnings. Fixed sporadic memory corruption. @ text @d1 1 a1 1 $NetBSD: patch-cmake_compilers_Clang.cmake,v 1.2 2021/07/29 20:03:28 fcambus Exp $ d3 2 a4 1 Only link against dl on Linux. d6 1 a6 1 --- cmake/compilers/Clang.cmake.orig 2021-07-29 16:43:27.979066736 +0000 d8 3 a10 3 @@@@ -42,7 +42,9 @@@@ if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86 set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -mrtm $<$>:-mwaitpkg>) endif() d12 6 a17 4 -set(TBB_COMMON_LINK_LIBS dl) +if (CMAKE_SYSTEM_NAME MATCHES "Linux") + set(TBB_COMMON_LINK_LIBS dl) +endif() d19 1 a19 2 if (ANDROID_PLATFORM) set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} $<$>:-D_FORTIFY_SOURCE=2>) @ 1.2 log @threadingbuildingblocks: fix build on Linux, we need to link against dl. Use CMAKE_SYSTEM_NAME to enable linking against dl only on Linux. @ text @d1 1 a1 1 $NetBSD: patch-cmake_compilers_Clang.cmake,v 1.1 2021/07/14 17:56:52 adam Exp $ @ 1.1 log @threadingbuildingblocks: ... and patches @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 Do not link against dl. d5 1 a5 1 --- cmake/compilers/Clang.cmake.orig 2021-07-14 13:02:23.067505600 +0000 d7 1 a7 1 @@@@ -42,7 +42,6 @@@@ if (CMAKE_SYSTEM_PROCESSOR MATCHES "(x86 d12 3 @