[packages/tbb] up to 2022.3.0
atler
atler at pld-linux.org
Wed Oct 29 20:19:38 CET 2025
commit 54ccb55e085c45505751a2721ec2f219f80f7a6c
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Oct 29 20:19:26 2025 +0100
up to 2022.3.0
non-x86-build.patch | 22 ----------------------
tbb.spec | 6 ++----
2 files changed, 2 insertions(+), 26 deletions(-)
---
diff --git a/tbb.spec b/tbb.spec
index 72bf1e5..a905652 100644
--- a/tbb.spec
+++ b/tbb.spec
@@ -10,13 +10,13 @@
Summary: The Threading Building Blocks library abstracts low-level threading details
Summary(pl.UTF-8): Threading Building Blocks - biblioteka abstrahująca niskopoziomowe szczegóły obsługi wątków
Name: tbb
-Version: 2022.2.0
+Version: 2022.3.0
Release: 1
License: Apache v2.0
Group: Development/Tools
# Source0Download: https://github.com/oneapi-src/oneTBB/releases
Source0: https://github.com/01org/tbb/archive/v%{version}/oneTBB-%{version}.tar.gz
-# Source0-md5: dd62f06431c9dfd274498afa4deba8f5
+# Source0-md5: 2b242c465b194ac8e1451ea1354873ae
Source1: http://www.threadingbuildingblocks.org/uploads/81/91/Latest%20Open%20Source%20Documentation/Design_Patterns.pdf
# Source1-md5: 46062fef922d39abfd464bc06e02cdd8
Source2: http://www.threadingbuildingblocks.org/uploads/81/91/Latest%20Open%20Source%20Documentation/Getting_Started.pdf
@@ -25,7 +25,6 @@ Source3: http://www.threadingbuildingblocks.org/uploads/81/91/Latest%20Open%20So
# Source3-md5: 1481cbd378f4964691046d0ba570b374
Source4: http://www.threadingbuildingblocks.org/uploads/81/91/Latest%20Open%20Source%20Documentation/Tutorial.pdf
# Source4-md5: 5bbdd1050c5dac5c1b782a6a98db0c46
-Patch0: non-x86-build.patch
URL: http://www.threadingbuildingblocks.org/
BuildRequires: cmake >= 3.5
BuildRequires: hwloc-devel
@@ -100,7 +99,6 @@ Building Blocks (TBB).
%prep
%setup -q -n oneTBB-%{version}
-%patch -P0 -p1
cp -p %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} .
diff --git a/non-x86-build.patch b/non-x86-build.patch
deleted file mode 100644
index 3e42c0c..0000000
--- a/non-x86-build.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 1036d1fd16ddd0bed0a9093f8ecf8f494e2c0f3e Mon Sep 17 00:00:00 2001
-From: Leon Marz <main at lmarz.org>
-Date: Tue, 1 Jul 2025 19:45:31 +0200
-Subject: [PATCH] Only enable fcf-protection on x86 based processors
-
----
- cmake/compilers/GNU.cmake | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cmake/compilers/GNU.cmake b/cmake/compilers/GNU.cmake
-index 4f55209142..d9eb1c4576 100644
---- a/cmake/compilers/GNU.cmake
-+++ b/cmake/compilers/GNU.cmake
-@@ -107,7 +107,7 @@ endif ()
- 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 (NOT CMAKE_SYSTEM_PROCESSOR MATCHES "aarch64" AND NOT EMSCRIPTEN)
-+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>)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tbb.git/commitdiff/54ccb55e085c45505751a2721ec2f219f80f7a6c
More information about the pld-cvs-commit
mailing list