Skip to content

Commit 457fff9

Browse files
committed
Commit oneTBB source code cb6cc0e
1 parent be2fb93 commit 457fff9

File tree

134 files changed

+4936
-1983
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+4936
-1983
lines changed

.github/issue_labeler.yml

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Copyright (c) 2023 Intel Corporation
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# PR template regexp's for issue labeler
16+
bug fix:
17+
- '\[(x|X)\]\sbug\sfix'
18+
enhancement:
19+
- '\[(x|X)\]\snew\sfeature'
20+
tests:
21+
- '\[(x|X)\]\stests'
22+
infrastructure:
23+
- '\[(x|X)\]\sinfrastructure'
24+
documentation:
25+
- '\[(x|X)\]\sdocumentation'
26+
allocator:
27+
- '\[(x|X)\]\sallocator'

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ jobs:
185185
fail-fast: false
186186
matrix:
187187
include:
188-
- os: macos-10.15
188+
- os: macos-12
189189
c_compiler: clang
190190
cxx_compiler: clang++
191191
std: 14
@@ -285,7 +285,7 @@ jobs:
285285
fail-fast: false
286286
matrix:
287287
include:
288-
- os: macos-10.15
288+
- os: macos-12
289289
c_compiler: clang
290290
cxx_compiler: clang++
291291
std: 14

.github/workflows/issue_labeler.yml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# Copyright (c) 2023 Intel Corporation
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: "Issue Labeler"
16+
on:
17+
issues:
18+
types: [opened, edited]
19+
pull_request:
20+
types: [opened, edited]
21+
22+
jobs:
23+
triage:
24+
runs-on: ubuntu-latest
25+
permissions:
26+
pull-requests: write
27+
issues: write
28+
contents: read
29+
steps:
30+
- uses: github/[email protected] #May not be the latest version
31+
with:
32+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
33+
configuration-path: .github/issue_labeler.yml
34+
enable-versioned-regex: 0
35+
sync-labels: 1

CMakeLists.txt

+7-6
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ option(TBB_CPF "Enable preview features of the library" OFF)
106106
option(TBB_FIND_PACKAGE "Enable search for external oneTBB using find_package instead of build from sources" OFF)
107107
option(TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH "Disable HWLOC automatic search by pkg-config tool" OFF)
108108
option(TBB_ENABLE_IPO "Enable Interprocedural Optimization (IPO) during the compilation" ON)
109+
option(TBB_FUZZ_TESTING "Enable fuzz testing" OFF)
109110

110111
if (NOT DEFINED BUILD_SHARED_LIBS)
111112
set(BUILD_SHARED_LIBS ON)
@@ -118,11 +119,6 @@ if (NOT BUILD_SHARED_LIBS)
118119
message(WARNING "You are building oneTBB as a static library. This is highly discouraged and such configuration is not supported. Consider building a dynamic library to avoid unforeseen issues.")
119120
endif()
120121

121-
# Prevent searching HWLOC by pkg-config on macOS
122-
if (APPLE)
123-
set(TBB_DISABLE_HWLOC_AUTOMATIC_SEARCH ON)
124-
endif()
125-
126122
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
127123
set(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "Build type" FORCE)
128124
message(STATUS "CMAKE_BUILD_TYPE is not specified. Using default: ${CMAKE_BUILD_TYPE}")
@@ -197,6 +193,11 @@ endif()
197193

198194
# -------------------------------------------------------------------
199195
# Common dependencies
196+
#force -pthread during compilation for Emscripten
197+
if (EMSCRIPTEN)
198+
set(THREADS_HAVE_PTHREAD_ARG TRUE)
199+
endif()
200+
200201
set(THREADS_PREFER_PTHREAD_FLAG TRUE)
201202
find_package(Threads REQUIRED)
202203
# -------------------------------------------------------------------
@@ -244,7 +245,7 @@ else()
244245
add_subdirectory(src/tbbmalloc_proxy)
245246
endif()
246247
endif()
247-
if (APPLE OR NOT BUILD_SHARED_LIBS)
248+
if (NOT BUILD_SHARED_LIBS)
248249
message(STATUS "TBBBind build targets are disabled due to unsupported environment")
249250
else()
250251
add_subdirectory(src/tbbbind)

SYSTEM_REQUIREMENTS.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,10 @@ This document provides details about hardware, operating system, and software pr
4444
- Microsoft* Windows* Server 2022
4545
- Systems with Linux* operating systems:
4646
- Oracle Linux* 8
47-
- Amazon* Linux* 2
47+
- Amazon* Linux 2, 2022
4848
- Debian* 9, 10, 11
49-
- Fedora* 36, 37
50-
- Rocky* Linux* 9
49+
- Fedora* 36, 37, 38
50+
- Rocky* Linux* 8, 9
5151
- Red Hat* Enterprise Linux* 8, 9
5252
- SuSE* Linux* Enterprise Server 15
5353
- Ubuntu* 20.04, 22.04
@@ -64,12 +64,12 @@ This document provides details about hardware, operating system, and software pr
6464

6565
### Supported Compilers
6666
- Intel* oneAPI DPC++/C++ Compiler
67-
- Intel* C++ Compiler 19.0 and 19.1 version
67+
- Intel® C++ Compiler Classic 2021.1 - 2021.9
6868
- Microsoft* Visual C++ 14.2 (Microsoft* Visual Studio* 2019, Windows* OS only)
6969
- Microsoft* Visual C++ 14.3 (Microsoft* Visual Studio* 2022, Windows* OS only)
7070
- For each supported Linux* operating system, the standard gcc version provided with that operating system is supported:
71-
- GNU Compilers (gcc) 4.8.5 - 11.2.1
72-
- GNU C Library (glibc) version 2.17 - 2.34
71+
- GNU Compilers (gcc) 8.x – 12.x
72+
- GNU C Library (glibc) version 2.28 – 2.36
7373
- Clang* 6.0.0 - 13.0.0
7474

7575
## Limitations

0 commit comments

Comments
 (0)