SHA256
6
0
forked from pool/tbb

Accepting request 1101905 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1101905
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tbb?expand=0&rev=32
This commit is contained in:
Dominique Leuenberger 2023-08-03 15:27:14 +00:00 committed by Git OBS Bridge
commit aafc1ecab2
5 changed files with 34 additions and 4 deletions

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:35e45dd015801e7b1606ce922b9fa9d19dfe410446282846d682660336f61bfc
size 2701487

View File

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Aug 1 19:25:15 UTC 2023 - Martin Liška <martin.liska@hey.com>
* Add use-FORTIFY_SOURCE-from-distribution.patch and use FS settings from distribution
(we use either =2 or =3).
-------------------------------------------------------------------
Tue Aug 1 01:27:35 UTC 2023 - Alessandro de Oliveira Faria <cabelo@opensuse.org>
- Update to 2021.10.0:
* Since C++17, parallel algorithms and Flow Graph nodes are allowed to accept
pointers to the member functions and member objects as the user-provided
callables.
* Added missed member functions, such as assignment operators and swap function,
to the concurrent_queue and concurrent_bounded_queue containers.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 15 08:34:01 UTC 2023 - Paolo Stivanin <info@paolostivanin.com> Thu Jun 15 08:34:01 UTC 2023 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -2,6 +2,7 @@
# spec file for package tbb # spec file for package tbb
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2023 SUSE LLC
# Copyright (c) 2023 Alessandro de Oliveira Faria (A.K.A. CABELO)
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -40,7 +41,7 @@
%bcond_with python3 %bcond_with python3
%endif %endif
Name: tbb Name: tbb
Version: 2021.9.0 Version: 2021.10.0
Release: 0 Release: 0
Summary: Threading Building Blocks (TBB) Summary: Threading Building Blocks (TBB)
License: Apache-2.0 License: Apache-2.0
@ -51,6 +52,7 @@ Source99: tbb-rpmlintrc
# PATCH-FIX-OPENSUSE cmake-remove-include-path.patch -- openCV include error # PATCH-FIX-OPENSUSE cmake-remove-include-path.patch -- openCV include error
Patch2: cmake-remove-include-path.patch Patch2: cmake-remove-include-path.patch
Patch4: add-cmake-check-for-libatomic-requirement-when-build.patch Patch4: add-cmake-check-for-libatomic-requirement-when-build.patch
Patch5: use-FORTIFY_SOURCE-from-distribution.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: gcc-c++ BuildRequires: gcc-c++

View File

@ -0,0 +1,12 @@
diff --git a/cmake/compilers/GNU.cmake b/cmake/compilers/GNU.cmake
index b60172c..738d185 100644
--- a/cmake/compilers/GNU.cmake
+++ b/cmake/compilers/GNU.cmake
@@ -74,7 +74,6 @@ set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -fno-strict-overflow -f
set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} -Wformat -Wformat-security -Werror=format-security
-fstack-protector-strong )
set(TBB_LIB_LINK_FLAGS ${TBB_LIB_LINK_FLAGS} -Wl,-z,relro,-z,now,-z,noexecstack)
-set(TBB_COMMON_COMPILE_FLAGS ${TBB_COMMON_COMPILE_FLAGS} $<$<NOT:$<CONFIG:Debug>>:-D_FORTIFY_SOURCE=2> )
# TBB malloc settings