Import onetbb_2021.8.0-2.debian.tar.xz
authorAndreas Beckmann <anbe@debian.org>
Tue, 16 May 2023 10:23:01 +0000 (11:23 +0100)
committerAndreas Beckmann <anbe@debian.org>
Tue, 16 May 2023 10:23:01 +0000 (11:23 +0100)
[dgit import tarball onetbb 2021.8.0-2 onetbb_2021.8.0-2.debian.tar.xz]

33 files changed:
changelog [new file with mode: 0644]
control [new file with mode: 0644]
copyright [new file with mode: 0644]
libtbb-dev.README.Debian [new file with mode: 0644]
libtbb-dev.install [new file with mode: 0644]
libtbb-doc.README.Debian [new file with mode: 0644]
libtbb-doc.doc-base [new file with mode: 0644]
libtbb-doc.docs [new file with mode: 0644]
libtbb-doc.examples [new file with mode: 0644]
libtbb-doc.links [new file with mode: 0644]
libtbb12.install [new file with mode: 0644]
libtbb12.symbols.amd64 [new file with mode: 0644]
libtbbbind-2-5.install [new file with mode: 0644]
libtbbmalloc2.install [new file with mode: 0644]
libtbbmalloc2.symbols.amd64 [new file with mode: 0644]
not-installed [new file with mode: 0644]
patches/0001-Build-tbbmalloc-also-on-mips.patch [new file with mode: 0644]
patches/776.diff [new file with mode: 0644]
patches/fetchadd4.patch [new file with mode: 0644]
patches/remove-unaligned-test.patch [new file with mode: 0644]
patches/series [new file with mode: 0644]
patches/test-less-stress.patch [new file with mode: 0644]
patches/warning-flags.patch [new file with mode: 0644]
rules [new file with mode: 0755]
salsa-ci.yml [new file with mode: 0644]
source/format [new file with mode: 0644]
tests/CMakeLists.txt [new file with mode: 0644]
tests/cmaketest.sh [new file with mode: 0755]
tests/control [new file with mode: 0644]
tests/runtests.sh [new file with mode: 0755]
tests/test.cc [new file with mode: 0644]
upstream/metadata [new file with mode: 0644]
watch [new file with mode: 0644]

diff --git a/changelog b/changelog
new file mode 100644 (file)
index 0000000..3adae56
--- /dev/null
+++ b/changelog
@@ -0,0 +1,795 @@
+onetbb (2021.8.0-2) unstable; urgency=medium
+
+  * Team upload.
+  * libtbb12: Add explicit Breaks against libtbb2 for smoother upgrades from
+    bullseye. The the existing transitive Breaks via libtbbmalloc2 is not
+    sufficient for all upgrade paths.  (Closes: #1036073)
+  * Drop duplicate symbols.
+
+ -- Andreas Beckmann <anbe@debian.org>  Tue, 16 May 2023 12:23:01 +0200
+
+onetbb (2021.8.0-1) unstable; urgency=medium
+
+  * New upstream version 2021.8.0
+  * Rebase existing patches.
+
+ -- Mo Zhou <lumin@debian.org>  Mon, 26 Dec 2022 11:21:23 -0500
+
+onetbb (2021.7.0-1) unstable; urgency=medium
+
+  * Upload to unstable.
+
+ -- Mo Zhou <lumin@debian.org>  Sat, 29 Oct 2022 23:15:39 -0400
+
+onetbb (2021.7.0-1~exp1) experimental; urgency=medium
+
+  * Update watch due to github change.
+  * Repack upstream tarball to deal with EXTREMELY ANNOYING DOS linebreaks
+    in Git. (Reverts: "Do not repack upstream source" in 2021.5.0-1)
+  * New upstream version 2021.7.0
+  * Rebase/Refresh existing patches. Remove merged ones.
+  * Rules: no longer link binaries using GOLD on ppc64el.
+  * Upload to experimental.
+
+ -- Mo Zhou <lumin@debian.org>  Fri, 28 Oct 2022 14:01:02 -0400
+
+onetbb (2021.5.0-15) unstable; urgency=medium
+
+  * Upload to unstable.
+
+ -- Mo Zhou <lumin@debian.org>  Wed, 07 Sep 2022 14:45:46 -0400
+
+onetbb (2021.5.0-14) experimental; urgency=medium
+
+  * Enable hwloc support as per upstream request.
+    + Install the new libtbbbind_*.so after enabling hwloc.
+    + Install the new shared object in separate binary package.
+  * Switch linker from bfd to gold for ppc64el.
+    This bypasses a regression (linker segmentation fault) in binutils.
+
+ -- Mo Zhou <lumin@debian.org>  Tue, 06 Sep 2022 23:53:16 -0400
+
+onetbb (2021.5.0-13) unstable; urgency=medium
+
+  * Suppress compiler warnings appeared since GCC-12. (Closes: #1016283)
+
+ -- Mo Zhou <lumin@debian.org>  Thu, 18 Aug 2022 12:57:20 -0400
+
+onetbb (2021.5.0-12) unstable; urgency=medium
+
+  [ Adrian Bunk ]
+  * Build libtbbmalloc2 also on mips* (Closes: #1013753)
+
+ -- Mo Zhou <lumin@debian.org>  Sat, 25 Jun 2022 07:28:41 -0700
+
+onetbb (2021.5.0-11) unstable; urgency=medium
+
+  [ Andrius Merkys ]
+  * Team upload.
+
+  [ Adrian Bunk ]
+  * Link everything with -latomic where needed
+  * Correct DEB_BUILD_ARCH -> DEB_HOST_ARCH
+
+ -- Andrius Merkys <merkys@debian.org>  Wed, 15 Jun 2022 02:55:28 -0400
+
+onetbb (2021.5.0-10) unstable; urgency=medium
+
+  * Team upload.
+  * Upload to unstable.
+
+ -- Andrius Merkys <merkys@debian.org>  Mon, 13 Jun 2022 03:58:56 -0400
+
+onetbb (2021.5.0-9) experimental; urgency=medium
+
+  * Remove mips* arch from bin:libtbbmalloc2. (Closes: #1011112)
+  * Close the riscv FTBFS bug that was not closed (Closes: #1005733)
+
+ -- Mo Zhou <lumin@debian.org>  Fri, 20 May 2022 10:32:26 -0400
+
+onetbb (2021.5.0-8) experimental; urgency=medium
+
+  [ Andrius Merkys ]
+  * Team upload.
+
+  [ Matthias Klose ]
+  * Split out a libtbbmalloc2 package (Closes: #1010920).
+  * Mark some of the libtbbmalloc symbols as optional.
+  * Build for riscv64.
+
+ -- Andrius Merkys <merkys@debian.org>  Fri, 13 May 2022 04:06:43 -0400
+
+onetbb (2021.5.0-7) experimental; urgency=medium
+
+  * Remove fetchadd4-ia64-gcc.patch: generic fallback invalid for IA64.
+  * Revise patch of test_collaborative_call_once for __arm__ and x32.
+  * Add -faligned-new in CXXFLAGS for m68k and sh4.
+  * Disable ITT_NOTIFY on IA64 architecture.
+
+ -- Mo Zhou <lumin@debian.org>  Tue, 22 Feb 2022 12:51:02 -0500
+
+onetbb (2021.5.0-6) experimental; urgency=medium
+
+  * Patch and fix libatomic linkage on architectures incl. armel.
+  * Reduce stress of test_collaborative_call_once on __arm__ and x32.
+  * Revise fetchadd4.patch based on upstream suggestion.
+  * Patch code to avoid undefined fetchadd4 on IA64 with gcc.
+
+ -- Mo Zhou <lumin@debian.org>  Tue, 15 Feb 2022 10:16:19 -0500
+
+onetbb (2021.5.0-5) experimental; urgency=medium
+
+  * Patch source to avoid "undefined __TBB_machine_fetchadd4".
+  * Overhaul buildflags definition for CMake. Deprecate old defs for Makefile.
+
+ -- Mo Zhou <lumin@debian.org>  Sun, 13 Feb 2022 21:53:17 -0500
+
+onetbb (2021.5.0-4) experimental; urgency=medium
+
+  * Cherry-pick 8f78aa096459b8ea0fcb54d2f0854f1889043f5d to fix test_eh_thread.
+  * Prevent dh-missing from failing the build due to README.
+
+ -- Mo Zhou <lumin@debian.org>  Sun, 13 Feb 2022 15:48:13 -0500
+
+onetbb (2021.5.0-3) experimental; urgency=medium
+
+  * Cherry-pick upstream fix for i386.
+  * Fix FTBFS for --arch-all --no-arch-any build.
+  * Fix broken symlink in libtbb-doc. (Closes: #988868)
+
+ -- Mo Zhou <lumin@debian.org>  Sun, 13 Feb 2022 13:50:43 -0500
+
+onetbb (2021.5.0-2) experimental; urgency=medium
+
+  * Breaks+Replaces: libtbb2 (<< 2021). (Closes: #1004980)
+  * B-D on cmake for all architectures.
+  * Reintroduce remove-unaligned-test.patch to fix bus error during test.
+
+ -- Mo Zhou <lumin@debian.org>  Sat, 05 Feb 2022 17:57:13 -0500
+
+onetbb (2021.5.0-1) experimental; urgency=medium
+
+  * Team upload
+
+  [ Mo Zhou ]
+  * New upstream version 2021.4.0 (Closes: #987689)
+  * Source rename following upstream. The new upstream Git URL is
+    https://github.com/oneapi-src/oneTBB
+  * d/rules: Switch build system to cmake+ninja.
+    + Remove OS detection flags for old buildsystem.
+    + Update buildflags in favor of new CMake buildsystem.
+    + No longer need to manually install pkg-config and cmake files.
+  * d/patches: Remove patches for old build system.
+    + And temporarily disable all remaining patches.
+  * Bump SOVERSION to 12 and refresh symbols control file. (Closes: #997115)
+  * Migrate to Sphinx for building documentation.
+  * d/*.{install,docs,examples}: Reflect upstream file changes.
+  * Remove unnecessary links and lintian overrides.
+  * Migrate to new API for d/tests/test.cc for autopkgtest.
+  * Use upstream examples for autopkgtest.
+  * Upload to experimental.
+
+  [ Andreas Tille ]
+  * Do not repack upstream source
+  * DEP5
+  * Drop uupdate from watch file
+  * Standards-Version: 4.6.0 (routine-update)
+  * debhelper-compat 13 (routine-update)
+  * Add salsa-ci file (routine-update)
+  * No need to use dh-exec
+
+ -- Andreas Tille <tille@debian.org>  Thu, 03 Feb 2022 17:14:25 +0100
+
+tbb (2020.3-1) unstable; urgency=medium
+
+  * New upstream version 2020.3
+  * Refresh symbols control file.
+
+ -- Mo Zhou <lumin@debian.org>  Thu, 13 Aug 2020 08:33:57 +0800
+
+tbb (2020.2-2) unstable; urgency=medium
+
+  * Upload to unstable.
+
+ -- Mo Zhou <lumin@debian.org>  Mon, 13 Apr 2020 07:56:18 +0800
+
+tbb (2020.2-1) experimental; urgency=medium
+
+  * New upstream version 2020.2
+  * Specify Rules-Requires-Root: no in control
+  * Bump Standards-Version to 4.5.0 (no change).
+
+ -- Mo Zhou <lumin@debian.org>  Sun, 05 Apr 2020 18:19:33 +0800
+
+tbb (2020.1-2) unstable; urgency=medium
+
+  * Upload to unstable.
+
+ -- Mo Zhou <lumin@debian.org>  Fri, 07 Feb 2020 09:32:59 +0800
+
+tbb (2020.1-1) experimental; urgency=medium
+
+  * New upstream version 2020.1
+  * Autopkgtest: let cmake test compile a simple C++ program.
+
+ -- Mo Zhou <lumin@debian.org>  Thu, 30 Jan 2020 18:01:05 +0800
+
+tbb (2020.0-2) unstable; urgency=medium
+
+  * Mark libtbb-doc as Multi-Arch: foreign.
+  * Merge the content of tbb-examples package into libtbb-doc package.
+  * Remove the third-party cmake file FindTBB.cmake
+  * CMake: use TBBConfig*.cmake to find TBB. (Closes: #929967)
+  * Add a CMakeLists.txt to debian/tests for testing TBBConfig*.cmake
+  * Bump debhelper compat level to 12 and deprecate d/compat.
+  * Initialize autopkgtest: upstream unit tests, cmake find_package.
+
+ -- Mo Zhou <lumin@debian.org>  Tue, 07 Jan 2020 09:01:17 +0800
+
+tbb (2020.0-1) experimental; urgency=medium
+
+  * New upstream version 2020.0
+  * Update watch file, reflecting the version scheme change.
+  * Rebase/Refresh existing patch stack.
+  * Add missing B-D-I graphviz.
+  * Refresh symbols control file.
+  * Override a lintian warning.
+  * Update my own mail address.
+  * Upload to experimental.
+
+ -- Mo Zhou <lumin@debian.org>  Thu, 02 Jan 2020 17:05:21 +0800
+
+tbb (2019~U9-2) unstable; urgency=medium
+
+  * Upload to unstable.
+
+ -- Mo Zhou <cdluminate@gmail.com>  Tue, 15 Oct 2019 10:06:29 +0000
+
+tbb (2019~U9-1) experimental; urgency=medium
+
+  * New upstream version 2019~U9
+  * Rebase gcc-atomic-detection.patch
+  * Update symbols list for amd64.
+
+ -- Mo Zhou <cdluminate@gmail.com>  Fri, 11 Oct 2019 21:24:17 +0800
+
+tbb (2019~U8-1) unstable; urgency=medium
+
+  * New upstream version 2019~U8
+
+ -- Mo Zhou <cdluminate@gmail.com>  Sat, 06 Jul 2019 04:48:07 +0000
+
+tbb (2019~U7-1) unstable; urgency=medium
+
+  * New upstream version 2019~U7
+  * Rebase gcc-atomic-detection.patch and refresh the rest patches.
+
+ -- Mo Zhou <cdluminate@gmail.com>  Tue, 04 Jun 2019 12:14:14 +0000
+
+tbb (2019~U5-1~exp1) experimental; urgency=medium
+
+  * New upstream version 2019~U5
+
+ -- Mo Zhou <cdluminate@gmail.com>  Thu, 28 Mar 2019 00:34:43 +0000
+
+tbb (2019~U4-1~exp1) experimental; urgency=medium
+
+  * New upstream version 2019~U4
+  * Refresh patches (quilt push -a --refresh).
+  * Refresh symbols (one more symbol).
+
+ -- Mo Zhou <cdluminate@gmail.com>  Sun, 03 Mar 2019 02:47:44 +0000
+
+tbb (2019~U3-1~exp1) experimental; urgency=medium
+
+  * New upstream version 2019~U3
+  * Refresh/Rebase patches:
+    + Rebase fixnonlinux.patch, gcc-atomic-detection.patch, cross.patch
+    + Refresh the rest patches.
+    - Remove no longer needed removejsquery.patch
+  * Override dh_auto_build-indep to build doxygen documentations.
+  * Add doxygen to Build-Depends-Indep.
+  * Update symbols control file for amd64 architecture.
+  * Override (noop) dh_auto_test-indep.
+
+ -- Mo Zhou <cdluminate@gmail.com>  Sat, 02 Feb 2019 15:14:00 +0000
+
+tbb (2018~U6-4) unstable; urgency=medium
+
+  * Team upload.
+  * Drop cgal specific include from cmake module
+  * Install tbb own cmake files and include TBBMakeConfig.cmake into
+    FindTBB.cmake
+
+ -- Andreas Tille <tille@debian.org>  Wed, 12 Dec 2018 19:20:30 +0100
+
+tbb (2018~U6-3) unstable; urgency=medium
+
+  * Team upload.
+  * cme fix dpkg-control
+  * Standards-Version: 4.2.1
+  * Remove trailing whitespace in debian/changelog
+  * DEP3
+  * Add cmake file (shamelessly stolen from libcgal-dev)
+
+ -- Andreas Tille <tille@debian.org>  Tue, 11 Dec 2018 21:58:08 +0100
+
+tbb (2018~U6-2) unstable; urgency=medium
+
+  * Upload to unstable.
+
+ -- Mo Zhou <cdluminate@gmail.com>  Fri, 30 Nov 2018 07:41:31 +0000
+
+tbb (2018~U6-1) experimental; urgency=medium
+
+  * New upstream version 2018~U6
+  * Maintainer is Debian Science team. Append myself to uploaders.
+  * Point Vcs-* fields to Salsa.
+  * Refresh patches.
+  * Change priority to optional in favor of deprecation of extra.
+  * Cleanup rules and enable all hardening options.
+  * Bump debhelper compat level to 11.
+  * Delete -dbg package in favor of automatic debug packages.
+  * Remove unused files and unused lintian overrides.
+  * Update doc installation path and doc-base registration due to compat 10.
+  * Add symbols control file for amd64.
+
+ -- Mo Zhou <cdluminate@gmail.com>  Fri, 23 Nov 2018 09:04:17 +0000
+
+tbb (2017~U7-8) unstable; urgency=medium
+
+  * Remove un-aligned memory access unit test from test_malloc_pools.exe
+    - This allows sparc64 to pass unit tests. Closes: #832104
+
+  [ Adrian Bunk ]
+  * Advertise exception_ptr with gcc >= 7, Closes: #877380
+
+ -- Steve Capper <steven.capper@gmail.com>  Wed, 04 Oct 2017 14:46:23 +0100
+
+tbb (2017~U7-7~exp1) experimental; urgency=medium
+
+  * Remove un-aligned memory access unit test from test_malloc_pools.exe
+    - This should help sparc64
+
+ -- Steve Capper <steven.capper@gmail.com>  Mon, 14 Aug 2017 17:41:33 +0100
+
+tbb (2017~U7-6) unstable; urgency=medium
+
+  * Rollback enhanced debugging -g3 change, as it appears to have broken
+    reproducible builds.
+
+ -- Steve Capper <steven.capper@gmail.com>  Wed, 02 Aug 2017 19:03:30 +0100
+
+tbb (2017~U7-5) unstable; urgency=medium
+
+  * Release to sid
+  * Enhanced debugging, gdb analysis for failed tbbmalloc tests
+  * Display host system page size
+
+ -- Steve Capper <steven.capper@gmail.com>  Tue, 01 Aug 2017 21:20:40 +0100
+
+tbb (2017~U7-5~exp1) experimental; urgency=medium
+
+  * Enhanced debugging, gdb analysis for failed tbbmalloc tests
+  * Display host system page size
+
+ -- Steve Capper <steven.capper@gmail.com>  Sun, 30 Jul 2017 21:42:32 +0100
+
+tbb (2017~U7-4) unstable; urgency=medium
+
+  * Remove spurious patch files
+  * Fix build on ARMEL. Closes: #852481
+  * Remove build information to help reproducible builds. Closes: #816989
+  * Fixup 64-bits detection patch
+  * Use 1MB stack for 32-bit MIPS test threads
+  * Merge failonbadtests and tally-unit-test-fails.patch
+  * Fix -march logic in i386 building. Closes: #855088
+    + (we use gcc atomics by default so no longer need to mention pentium4)
+  * Bump standards to 4.0.0
+
+  [ Matthias Klose ]
+  * Fix multi-arch support, Closes: #812945
+
+  [ Helmut Grohne ]
+  * Fix FTCBFS: Pass build configuration to make. Closes: #837179
+
+ -- Steve Capper <steven.capper@gmail.com>  Thu, 27 Jul 2017 20:52:44 +0100
+
+tbb (2017~U7-3~exp1) experimental; urgency=medium
+
+  [ Matthias Klose ]
+  * Fix multi-arch support, Targets: #812945
+
+  [ Helmut Grohne ]
+  * Fix FTCBFS: Pass build configuration to make. Targets: #837179
+
+  [ Steve Capper ]
+  * Remove spurious patch files
+  * Fix build on ARMEL. Targets: #852481
+  * Attempt to debug pthread_create failures on mips
+  * Remove build information to help reproducible builds. Targets: #816989
+
+ -- Steve Capper <steven.capper@gmail.com>  Sun, 23 Jul 2017 19:08:41 +0100
+
+tbb (2017~U7-2) unstable; urgency=medium
+
+  * Port over experimental package to sid.
+  * Upgrade to latest upstream version of TBB.
+    + This now builds with gcc 7. Closes: #853679
+    + This supports s390x. Closes: #809663
+  * Update copyright file to Apache 2.0 to match new upstream version.
+  * Fix -march logic in i386 building. Targets: #855088
+  * Fix watch file to point to new upstream on github. Closes: #866678
+
+  [ Nico Schlömer ]
+  * Correct homepage and add Vcs tags in debian/control.
+
+ -- Steve Capper <steven.capper@gmail.com>  Sun, 23 Jul 2017 12:55:42 +0100
+
+tbb (2017~U7-1~exp1) experimental; urgency=medium
+
+  * Upgrade to latest upstream version of TBB.
+    + This now builds with gcc 7. Targets: #853679
+    + This supports s390x. Targets: #809663
+  * Update copyright file to Apache 2.0 to match new upstream version.
+  * Fix -march logic in i386 building. Targets: #855088
+  * Fix watch file to point to new upstream on github. Targets: #866678
+
+ -- Steve Capper <steven.capper@gmail.com>  Sat, 08 Jul 2017 10:45:31 +0100
+
+tbb (4.3~20150611-2) unstable; urgency=medium
+
+  * Add support for armel by distinguishing from armhf.
+  * Fold in unit test timeout logic in to tally patch.
+
+ -- Steve Capper <steven.capper@gmail.com>  Fri, 03 Jun 2016 20:30:33 +0100
+
+tbb (4.3~20150611-1) unstable; urgency=medium
+
+  * Dump out /proc/cpuinfo and gcc preprocessor directives on build to
+    help debug issues.
+  * Timeout of 10 minutes set on unit tests. Any tests that timeout are
+    logged.
+
+  [Mathieu Malaterre ]
+  * Tweak 64 bits detection.
+
+ -- Steve Capper <steven.capper@gmail.com>  Mon, 30 May 2016 17:01:44 +0100
+
+tbb (4.3~20150611-0.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+
+  [ Matthias Klose ]
+  * Upload version from experimental to sid, fixing build with GCC 5.
+    Closes: #778139.
+  * The architecture list is now marked as linux-any. Closes: #748876.
+  * Multiarchify the packages (Marc Glisse). Closes: #751689.
+  * The new upstream fixes the check for __TBB_CPP11_TYPE_PROPERTIES_PRESENT.
+    Closes: #779553.
+
+  [ Adam Conrad ]
+  * gcc-atomic-detection.patch: Fix the gcc atomic detection to work for
+    gcc-5.x and up, as well as adding -latomic to LIBS (closes: #787084)
+  * gcc-atomic-always.patch: Always define TBB_USE_GCC_BUILTINS for GCC.
+  * debian/tbb.pc.in: Add -latomic to the pkg-config file for the above.
+
+ -- Matthias Klose <doko@debian.org>  Sat, 05 Sep 2015 19:06:39 +0200
+
+tbb (4.3~20150611-1~exp3) experimental; urgency=medium
+
+  * Put Mathieu's ppc32 gcc atomic disable patch back in (it shouldn't
+      have been removed).
+  * Switch target architecture to linux-any.
+  * Go full atomic, move all __sync to __atomic.
+
+ -- Steve Capper <steven.capper@gmail.com>  Fri, 03 Jul 2015 20:20:34 +0100
+
+tbb (4.3~20150611-1~exp2) experimental; urgency=medium
+
+  * Replace __sync_val_compare_and_swap with __atomic_compare_exchange_n for
+    gcc_generic.h
+    - Original patch by Mathieu Malaterre, some logic has been tweaked.
+
+ -- Steve Capper <steven.capper@gmail.com>  Thu, 02 Jul 2015 19:32:04 +0100
+
+tbb (4.3~20150611-1~exp1) experimental; urgency=medium
+
+  * New upstream release.
+    + Mainly C++11 features/fixes.
+
+ -- Steve Capper <steven.capper@gmail.com>  Sat, 20 Jun 2015 16:31:03 +0100
+
+tbb (4.2~20140122-6) experimental; urgency=medium
+
+  * First stab at an experimental upload.
+  * No substantive changes from -5.
+
+ -- Steve Capper <steven.capper@gmail.com>  Mon, 27 Apr 2015 21:37:32 +0100
+
+tbb (4.2~20140122-5) unstable; urgency=medium
+
+  * Locked down build architectures to:
+        amd64, arm64, armhf, hppa, i386, powerpc and ppc64el
+
+ -- Steve Capper <steven.capper@gmail.com>  Thu, 22 Jan 2015 17:42:38 +0000
+
+tbb (4.2~20140122-4) unstable; urgency=medium
+  * Bump standards version to 3.9.6.
+  * Add debian/tbb.pc to clean list.
+
+  [ Mathieu Malaterre ]
+  * Don't use gcc atomics for ppc32. Closes: #762656
+
+ -- Steve Capper <steven.capper@gmail.com>  Thu, 30 Oct 2014 17:55:02 +0000
+
+tbb (4.2~20140122-3) unstable; urgency=medium
+
+  * Unit test execution failures no longer cause build to fail; instead take a
+    tally of passes/failures to make it easier to analyse which cases are prone
+    to failure.
+    + debian/patches/tally-unit-test-fails.patch
+  * debian/rules modified s.t. the unit tests are no longer executed twice
+
+ -- Steve Capper <steven.capper@gmail.com>  Fri, 19 Sep 2014 20:35:24 +0100
+
+tbb (4.2~20140122-2) unstable; urgency=medium
+
+  * Unit test compile errors no longer ignored. Closes: #752820
+  * for i386 architecture, set march=i586 (has to match gcc): Closes: #756233
+  * Debian architecture overrides uname -m, allows pbuilder i386 builds.
+  * Amended Linux kernel version detection logic to work with x.y.
+  * Bump standards version to 3.9.5.
+  * A couple of Lintian source-is-missing errors overridden.
+
+ -- Steve Capper <steven.capper@gmail.com>  Sat, 26 Jul 2014 18:45:08 +0100
+
+tbb (4.2~20140122-1.1) unstable; urgency=low
+
+  [ Helge Deller ]
+  * Enable builds for hppa. Closes: #748876
+
+  [ Wookey ]
+  * Enable builds for arm64. Closes: #748508
+
+  [ Mathieu Malaterre ]
+  * Non-maintainer upload.
+  * Prefer `Arch: any` now that tbb build on most arch now
+
+ -- Mathieu Malaterre <malat@debian.org>  Wed, 04 Jun 2014 15:08:28 +0200
+
+tbb (4.2~20140122-1) unstable; urgency=medium
+
+  * Added myself as maintainer for package.
+  * Added a symlink to tbb-examples so build instructions now work for them.
+  * Added a dependency to libjs-query and a symlink to remove the embedded
+    copy.
+  * New upstream release:
+    + armv7l build fixes, removed armhf.patch
+    + rebased adddebug.patch and fixnonlinux.patch
+
+ -- Steve Capper <steven.capper@gmail.com>  Mon, 07 Apr 2014 14:51:05 +0100
+
+tbb (4.2~20130725-2) unstable; urgency=low
+
+  * Oprhan the package, set maintainer to Debian QA Group
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Sun, 02 Mar 2014 13:05:59 -0500
+
+tbb (4.2~20130725-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add mips mipsel to the list of supported arches in debian/control
+    Closes:  #739965
+
+ -- Anibal Monsalve Salazar <anibal@debian.org>  Mon, 24 Feb 2014 12:27:06 +0000
+
+tbb (4.2~20130725-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * New upstream
+  * Fix buildds: x32/sparc/sparc64
+  * Do not compress Makefiles in tbb-examples
+
+ -- Mathieu Malaterre <malat@debian.org>  Tue, 08 Oct 2013 08:23:25 +0000
+
+tbb (4.1~20130613-1.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix armhf buildd
+    + debian/patches/armhf.patch
+  * Fix hardening flags (missing CPPFLAGS)
+  * Fix d/watch file
+
+ -- Mathieu Malaterre <malat@debian.org>  Wed, 18 Sep 2013 09:22:27 +0200
+
+tbb (4.1~20130613-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Remove patches from bug #692033, since integrated upstream now
+  * Upload to sid
+    - Closes: #714986, #715162, #713347, #715425, #705495
+
+ -- Mathieu Malaterre <malat@debian.org>  Mon, 26 Aug 2013 13:00:26 +0200
+
+tbb (4.1~20130613-1.1~exp1) experimental; urgency=low
+
+  * Non-maintainer upload.
+  * Upload 4.1, update 4
+  * Import patches for armhf (from 4.0+r233+update5-0.2)
+
+ -- Mathieu Malaterre <malat@debian.org>  Sat, 06 Jul 2013 15:01:19 +0200
+
+tbb (4.1~20130516-1.1~exp1) experimental; urgency=low
+
+  * Non-maintainer upload.
+  * Upload 4.1, update 3. Closes: #695683
+  * Switch to dh/9. Get harderning compilation
+  * Add d/watch. Closes: #695683
+  * Use d/rules to generate version. Closes: #712146
+  * Build PowerPC/SPE. Closes: #695685
+  * Use new d/rules. Bump Std-Vers: 3.9.4
+
+ -- Mathieu Malaterre <malat@debian.org>  Fri, 05 Jul 2013 09:06:21 +0200
+
+tbb (4.0+r233+update5-0.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add armhf to the list of supported arches in debian/control, now that
+    ARMv7 support is there. Not (yet) worth doing for armel.
+
+ -- Steve McIntyre <steve.mcintyre@linaro.org>  Mon, 24 Jun 2013 17:05:45 +0100
+
+tbb (4.0+r233+update5-0.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Updated to upstream 4.0 Update 5 release.
+    + Added 64-bit PowerPC support
+  * Applied ARMv7-A support patches from linaro. (Closes: #692033)
+
+ -- Andrew Lee (李健秋) <ajqlee@debian.org>  Wed, 12 Jun 2013 13:57:09 +0800
+
+tbb (4.0+r233-1) unstable; urgency=low
+
+  * New upstream release
+    + Add 32-bit PowerPC support
+  * Update to Standards-Version 3.9.2 (no changes)
+  * Add note to package descriptions that Pentium4-compatible and higher is
+    supported for i386 architecture users (Closes: #642248)
+  * Do not run test suite when DEB_BUILD_OPTIONS=nocheck (Closes: #642251)
+  * Do not ignore 'make clean' errors (Closes: #642242)
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Sat, 24 Sep 2011 17:16:45 -0400
+
+tbb (3.0+r147-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/copyright: update years
+  * debian/control: Add ppc64 to the Architecture fields
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Thu, 31 Mar 2011 15:02:52 -0400
+
+tbb (3.0+r035-2) unstable; urgency=low
+
+  * Make examples build properly (Closes: #608347)
+    + Ship common Makefile snippets from upstream
+    + Document that upstream's _debug library versions are not shipped
+  * Update to Standards-Version 3.9.1 (no changes)
+
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Fri, 31 Dec 2010 15:21:02 -0500
+
+tbb (3.0+r035-1) unstable; urgency=low
+
+  * New upstream release
+  * Update to Standards-Version 3.9.0 (no changes)
+  * Switch to dpkg-source 3.0 (quilt) format
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Mon, 28 Jun 2010 19:29:45 -0400
+
+tbb (3.0+r018-1) unstable; urgency=low
+
+  * New upstream release (Closes: #581614)
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Sat, 15 May 2010 07:58:17 -0400
+
+tbb (2.2+r013-1) unstable; urgency=low
+
+  * New upstream release
+  * debian/copyright: update years
+  * Update to Standards-Version 3.8.4 (no changes)
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Sat, 20 Feb 2010 12:22:19 -0500
+
+tbb (2.2+r012-1) unstable; urgency=low
+
+  * New upstream release
+  * Update pkg-config metadata file
+  * Add ${misc:Depends} as recommended by lintian
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Wed, 27 Jan 2010 09:50:16 -0500
+
+tbb (2.2+r009-1) unstable; urgency=low
+
+  * New upstream release
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Sun, 18 Oct 2009 14:50:25 -0400
+
+tbb (2.2+r004-1) unstable; urgency=low
+
+  * New upstream release (Closes: #545702)
+  * Update to Standards-Version 3.8.3 (no changes)
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Wed, 09 Sep 2009 17:22:22 -0400
+
+tbb (2.1r017-1) unstable; urgency=low
+
+  * New upstream release
+  * Change libtbb2-dbg to section debug for new archive layout
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Sun, 10 May 2009 21:15:34 -0400
+
+tbb (2.1r015-1) unstable; urgency=low
+
+  * New upstream release
+  * 02_replace_arch_command.dpatch: merged upstream
+  * Remove build dependency on dpatch and modify debian-rules accordingly
+  * Add .pc file to help when building against the library
+  * Update to Standards-Version 3.8.1 (no changes)
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Tue, 17 Mar 2009 15:52:47 -0400
+
+tbb (2.1~20080605-1) unstable; urgency=low
+
+  * New upstream release
+  * Drop patches
+    - 01_add_soname: suitable fascimile implemented upstream
+    - 03_ias_patch: upstream now using as instead of ias
+  * Update to Standards-Version 3.8.0 (no changes)
+  * Add new upstream Doxygen documentation (in libtbb-doc package)
+  * Register new documentation with doc-base
+  * debian/copyright: Update years of copyright
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Tue, 08 Jul 2008 18:51:22 -0400
+
+tbb (2.0r020-1) unstable; urgency=low
+
+  * New upstream release.
+  * debian/patches/04_g++-4.3.dpatch: Removed, integrated upstream
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Tue, 29 Apr 2008 15:31:09 -0400
+
+tbb (2.0r017-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Sat, 08 Mar 2008 22:15:13 -0500
+
+tbb (2.0r014-4) unstable; urgency=low
+
+  * Make tbb-examples recommend libtbb-dev.
+  * Make libtbb-dev suggest tbb-examples.
+  * Patch to allow building with g++-4.3 (Closes: #462415)
+  * Only conditionally create symlink (Closes: #465617)
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Thu, 14 Feb 2008 18:36:15 -0500
+
+tbb (2.0r014-3) unstable; urgency=low
+
+  * Fix short descriptions of tbb-examples (Closes: #457442)
+  * Fix short descriptions of libtbb2-dbg (Closes: #457443)
+  * Add patch to allow build to succeed on Itanium
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Thu,  3 Jan 2008 15:21:50 -0500
+
+tbb (2.0r014-2) unstable; urgency=low
+
+  * debian/copyright: Fix license statement.
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Wed, 19 Dec 2007 21:17:16 -0500
+
+tbb (2.0r014-1) unstable; urgency=low
+
+  * Initial release (Closes: #434583)
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Fri, 14 Dec 2007 23:10:58 -0500
diff --git a/control b/control
new file mode 100644 (file)
index 0000000..9f5dbeb
--- /dev/null
+++ b/control
@@ -0,0 +1,118 @@
+Source: onetbb
+Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
+Uploaders: Steve Capper <steven.capper@gmail.com>,
+           Mo Zhou <lumin@debian.org>
+Section: libs
+Priority: optional
+Build-Depends: debhelper-compat (= 13),
+               libjs-jquery <!nodoc>,
+               libjs-underscore <!nodoc>,
+               pkg-config,
+               libhwloc-dev,
+               gdb,
+               cmake,
+               ninja-build,
+               python3-sphinx <!nodoc>,
+               python3-sphinx-book-theme <!nodoc>,
+Build-Depends-Indep: doxygen, graphviz,
+Standards-Version: 4.6.0
+Vcs-Browser: https://salsa.debian.org/science-team/tbb
+Vcs-Git: https://salsa.debian.org/science-team/tbb.git
+Homepage: https://www.threadingbuildingblocks.org/
+Rules-Requires-Root: no
+
+Package: libtbb-dev
+Architecture: linux-any
+Multi-Arch: same
+Section: libdevel
+Depends: libtbb12 (= ${binary:Version}),
+         ${misc:Depends}
+Suggests: libtbb-doc
+Description: parallelism library for C++ - development files
+ TBB is a library that helps you leverage multi-core processor
+ performance without having to be a threading expert. It represents a
+ higher-level, task-based parallelism that abstracts platform details
+ and threading mechanism for performance and scalability.
+ .
+ (Note: if you are a user of the i386 architecture, i.e., 32-bit Intel
+ or compatible hardware, this package only supports Pentium4-compatible
+ and higher processors.)
+ .
+ This package includes the TBB development files.
+
+Package: libtbb12
+Architecture: linux-any
+Multi-Arch: same
+Depends: libtbbmalloc2 (= ${binary:Version}),
+         libtbbbind-2-5 (= ${binary:Version}),
+         ${shlibs:Depends},
+         ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Breaks:
+ libtbb2 (<< 2021),
+Description: parallelism library for C++ - runtime files
+ TBB is a library that helps you leverage multi-core processor
+ performance without having to be a threading expert. It represents a
+ higher-level, task-based parallelism that abstracts platform details
+ and threading mechanism for performance and scalability.
+ .
+ (Note: if you are a user of the i386 architecture, i.e., 32-bit Intel
+ or compatible hardware, this package only supports Pentium4-compatible
+ and higher processors.)
+ .
+ This package includes the TBB runtime files.
+
+Package: libtbbmalloc2
+Architecture: linux-any
+Multi-Arch: same
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Breaks: libtbb2 (<< 2020.3-1ubuntu2), libtbb12 (<< 2021.5-7ubuntu2)
+Replaces: libtbb2 (<< 2020.3-1ubuntu2), libtbb12 (<< 2021.5-7ubuntu2)
+Description: parallelism helper library for C++ - runtime files
+ TBB is a library that helps you leverage multi-core processor
+ performance without having to be a threading expert. It represents a
+ higher-level, task-based parallelism that abstracts platform details
+ and threading mechanism for performance and scalability.
+ .
+ (Note: if you are a user of the i386 architecture, i.e., 32-bit Intel
+ or compatible hardware, this package only supports Pentium4-compatible
+ and higher processors.)
+ .
+ This package includes the TBB runtime files.
+
+Package: libtbbbind-2-5
+Architecture: linux-any
+Multi-Arch: same
+Depends: ${shlibs:Depends},
+         ${misc:Depends}
+Pre-Depends: ${misc:Pre-Depends}
+Description: parallelism library for C++ - runtime files
+ TBB is a library that helps you leverage multi-core processor
+ performance without having to be a threading expert. It represents a
+ higher-level, task-based parallelism that abstracts platform details
+ and threading mechanism for performance and scalability.
+ .
+ (Note: if you are a user of the i386 architecture, i.e., 32-bit Intel
+ or compatible hardware, this package only supports Pentium4-compatible
+ and higher processors.)
+ .
+ This package includes the TBB runtime files.
+
+Package: libtbb-doc
+Architecture: all
+Multi-Arch: foreign
+Section: doc
+Breaks: tbb-examples (<< 2020.0-2),
+Replaces: tbb-examples (<< 2020.0-2),
+Depends: ${misc:Depends},
+         libjs-jquery
+Recommends: libtbb-dev,
+Description: parallelism library for C++ - documentation
+ TBB is a library that helps you leverage multi-core processor
+ performance without having to be a threading expert. It represents a
+ higher-level, task-based parallelism that abstracts platform details
+ and threading mechanism for performance and scalability.
+ .
+ This package includes the TBB documentation files and examples.
diff --git a/copyright b/copyright
new file mode 100644 (file)
index 0000000..d696273
--- /dev/null
+++ b/copyright
@@ -0,0 +1,137 @@
+Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: oneTBB
+Source: https://github.com/oneapi-src/oneTBB
+
+Files: *
+Copyright: 2005-2021 Intel Corporation
+License: Apache-2.0
+
+Files: python/tbb/test.py
+       python/tbb/pool.py
+Copyright: 2008,2016 David Decotigny (Pool of threads)
+           2006-2008, R Oudkerk (multiprocessing.Pool)
+License: BSD-3-Clause
+
+Files: examples/graph/fgbzip2/*
+Copyright: 1996-2010 Julian R. Seward <jseward@bzip.org>
+License: BSD-like-bzip2
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+   1. Redistributions of source code must retain the above copyright
+   notice, this list of conditions and the following disclaimer.
+ .
+   2. The origin of this software must not be misrepresented; you must
+   not claim that you wrote the original software.  If you use this
+   software in a product, an acknowledgment in the product
+   documentation would be appreciated but is not required.
+ .
+   3. Altered source versions must be plainly marked as such, and must
+   not be misrepresented as being the original software.
+ .
+   4. The name of the author may not be used to endorse or promote
+   products derived from this software without specific prior written
+   permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
+ GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+ WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: examples/parallel_for/tachyon/src/*
+Copyright: 1994-2008 John E. Stone
+License: BSD-3-Clause
+
+Files: test/common/doctest.h
+Copyright: 2016-2021 Viktor Kirilov
+License: MIT
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+Files: examples/parallel_for/seismic/gui/seismic.rc
+Copyright: 2005-2008 IDC_STATIC (SeismicSimulation Version 1.1)
+License: GPL-1+
+ The complete text of the GNU General Public License can be fodun on Debian
+ systems at `/usr/share/common-licenses/GPL-1'.
+Comment: License statement obtained from
+ https://geodynamics.org/cig/software/sw4/
+
+Files: src/tbbmalloc_proxy/proxy_overload_osx.h
+Copyright: 2011, Google Inc
+License: BSD-3-Clause
+
+Files: debian/*
+Copyright: 2007-2011, Athena Capital Research <acr-debian@athenacr.com>
+           2007-2014 Roberto C. Sanchez <roberto@connexer.com>
+           2014-2017 Steve Capper <steven.capper@gmail.com>
+           2018-2022 Mo Zhou <lumin@debian.org>
+License: GPL-2
+
+License: Apache-2.0
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+ .
+       http://www.apache.org/licenses/LICENSE-2.0
+ .
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ .
+ On Debian systems, the complete text of the Apache 2.0 License can be found at
+ `/usr/share/common-licenses/Apache-2.0'.
+
+License: GPL-2
+ The complete text of the GNU General Public License can be fodun on Debian
+ systems at `/usr/share/common-licenses/GPL-2'.
+
+License: BSD-3-Clause
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ .
+ 1. Redistributions of source code must retain the above copyright
+    notice, this list of conditions and the following disclaimer.
+ 2. Redistributions in binary form must reproduce the above copyright
+    notice, this list of conditions and the following disclaimer in the
+    documentation and/or other materials provided with the distribution.
+ 3. Neither the name of author nor the names of any contributors may be
+    used to endorse or promote products derived from this software
+    without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ SUCH DAMAGE.
diff --git a/libtbb-dev.README.Debian b/libtbb-dev.README.Debian
new file mode 100644 (file)
index 0000000..45411c2
--- /dev/null
@@ -0,0 +1,22 @@
+tbb for Debian
+--------------
+
+This is the Intel Threading Building Blocks package.  It comes from the
+"Commercial Aligned Release" series of TBB releases.
+
+This package ships a pkg-config file in /usr/lib/pkgconfig/tbb.pc.  Here is
+an example of how it is used:
+
+gcc -o test test.c `pkg-config --libs --cflags tbb`
+
+The examples are located in the tbb-examples package.  In order to install
+and use them, you want to install that package and run something like this:
+
+cd ~
+cp -r /usr/share/doc/tbb-examples/ .
+cd tbb-examples
+find . -name '*.gz'| xargs gunzip
+cd examples
+make
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Fri, 14 Dec 2007 23:10:58 -0500
diff --git a/libtbb-dev.install b/libtbb-dev.install
new file mode 100644 (file)
index 0000000..b3a80c5
--- /dev/null
@@ -0,0 +1,5 @@
+usr/include/oneapi
+usr/include/tbb
+usr/lib/*/lib*.so      
+usr/lib/*/pkgconfig
+usr/lib/*/cmake
diff --git a/libtbb-doc.README.Debian b/libtbb-doc.README.Debian
new file mode 100644 (file)
index 0000000..884abed
--- /dev/null
@@ -0,0 +1,28 @@
+tbb for Debian
+--------------
+
+This is the Intel Threading Building Blocks package.  It comes from the
+"Commercial Aligned Release" series of TBB releases.
+
+This package ships a pkg-config file in /usr/lib/*/pkgconfig/tbb.pc.  Here is
+an example of how it is used:
+
+gcc -o test test.c `pkg-config --libs --cflags tbb`
+
+The examples are located in the tbb-examples package.  In order to install
+and use them, you want to install that package and run something like this:
+
+cd ~
+cp -r /usr/share/doc/tbb-examples/ .
+cd tbb-examples
+find . -name '*.gz'| xargs gunzip
+cd examples
+make
+
+Please note that the Debian tbb package does not ship the various *_debug*
+libraries that are built as part of the upstream build process.  There a
+numerous reasons for this.  If you need debugging symbols, then please install
+the -dbg package.  If you require some of the specific functionality of the
+those other libraries, than that is unfortunately not available at this time.
+
+ -- Roberto C. Sanchez <roberto@connexer.com>  Fri, 31 Dec 2010 17:13:49 -0500
diff --git a/libtbb-doc.doc-base b/libtbb-doc.doc-base
new file mode 100644 (file)
index 0000000..3be9b6a
--- /dev/null
@@ -0,0 +1,10 @@
+Document: libtbb-doc
+Title: Threading Building Blocks Library Documentation
+Author: Intel Corporation
+Abstract: Documentation for developing against libtbb
+Section: Programming
+
+Format: HTML
+Index: /usr/share/doc/libtbb-dev/html/index.html
+Files: /usr/share/doc/libtbb-dev/html/*.html
+
diff --git a/libtbb-doc.docs b/libtbb-doc.docs
new file mode 100644 (file)
index 0000000..918bc5d
--- /dev/null
@@ -0,0 +1,2 @@
+html/
+README.md
diff --git a/libtbb-doc.examples b/libtbb-doc.examples
new file mode 100644 (file)
index 0000000..e39721e
--- /dev/null
@@ -0,0 +1 @@
+examples/*
diff --git a/libtbb-doc.links b/libtbb-doc.links
new file mode 100644 (file)
index 0000000..707379c
--- /dev/null
@@ -0,0 +1,3 @@
+/usr/share/javascript/jquery/jquery.js /usr/share/doc/libtbb-dev/html/_static/jquery.js 
+/usr/share/javascript/underscore/underscore.js /usr/share/doc/libtbb-dev/html/_static/underscore.js
+usr/share/doc/libtbb-dev/examples usr/share/doc/libtbb-dev/build
diff --git a/libtbb12.install b/libtbb12.install
new file mode 100644 (file)
index 0000000..ea69804
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/libtbb.so.*
diff --git a/libtbb12.symbols.amd64 b/libtbb12.symbols.amd64
new file mode 100644 (file)
index 0000000..6cc620f
--- /dev/null
@@ -0,0 +1,100 @@
+libtbb.so.12 libtbb12 #MINVER#
+ TBB_runtime_interface_version@Base 2021.4.0
+ TBB_runtime_version@Base 2021.4.0
+ _ZN3tbb6detail2r110deallocateERNS0_2d117small_object_poolEPvm@Base 2021.4.0
+ _ZN3tbb6detail2r110deallocateERNS0_2d117small_object_poolEPvmRKNS2_14execution_dataE@Base 2021.4.0
+ _ZN3tbb6detail2r110initializeERNS0_2d115task_arena_baseE@Base 2021.4.0
+ _ZN3tbb6detail2r110initializeERNS0_2d118task_group_contextE@Base 2021.4.0
+ _ZN3tbb6detail2r111try_acquireERNS0_2d116queuing_rw_mutexERNS3_11scoped_lockEb@Base 2021.4.0
+ _ZN3tbb6detail2r111try_acquireERNS0_2d19rtm_mutexERNS3_11scoped_lockE@Base 2021.4.0
+ _ZN3tbb6detail2r112itt_task_endENS0_2d115itt_domain_enumE@Base 2021.4.0
+ _ZN3tbb6detail2r114acquire_readerERNS0_2d112rtm_rw_mutexERNS3_11scoped_lockEb@Base 2021.4.0
+ _ZN3tbb6detail2r114acquire_writerERNS0_2d112rtm_rw_mutexERNS3_11scoped_lockEb@Base 2021.4.0
+ _ZN3tbb6detail2r114execution_slotEPKNS0_2d114execution_dataE@Base 2021.4.0
+ _ZN3tbb6detail2r114itt_region_endENS0_2d115itt_domain_enumEPvy@Base 2021.4.0
+ _ZN3tbb6detail2r114itt_task_beginENS0_2d115itt_domain_enumEPvyS4_yNS0_2d021string_resource_indexE@Base 2021.4.0
+ _ZN3tbb6detail2r114notify_waitersEm@Base 2021.4.0
+ _ZN3tbb6detail2r115allocate_memoryEm@Base 2021.4.0
+ _ZN3tbb6detail2r115cache_line_sizeEv@Base 2021.4.0
+ _ZN3tbb6detail2r115call_itt_notifyEiPv@Base 2021.4.0
+ _ZN3tbb6detail2r115core_type_countEl@Base 2021.4.0
+ _ZN3tbb6detail2r115create_itt_syncEPvPKcS4_@Base 2021.4.0
+ _ZN3tbb6detail2r115current_contextEv@Base 2021.4.0
+ _ZN3tbb6detail2r115max_concurrencyEPKNS0_2d115task_arena_baseE@Base 2021.4.0
+ _ZN3tbb6detail2r115numa_node_countEv@Base 2021.4.0
+ _ZN3tbb6detail2r115throw_exceptionENS0_2d012exception_idE@Base 2021.4.0
+ _ZN3tbb6detail2r115wait_on_addressEPvRNS0_2d113delegate_baseEm@Base 2021.4.0
+ _ZN3tbb6detail2r116execute_and_waitERNS0_2d14taskERNS2_18task_group_contextERNS2_12wait_contextES6_@Base 2021.4.0
+ _ZN3tbb6detail2r116itt_region_beginENS0_2d115itt_domain_enumEPvyS4_yNS0_2d021string_resource_indexE@Base 2021.4.0
+ _ZN3tbb6detail2r116itt_relation_addENS0_2d115itt_domain_enumEPvyNS0_2d012itt_relationES4_y@Base 2021.4.0
+ _ZN3tbb6detail2r116set_end_of_inputERNS0_2d111base_filterE@Base 2021.4.0
+ _ZN3tbb6detail2r117assertion_failureEPKciS3_S3_@Base 2021.4.0
+ _ZN3tbb6detail2r117deallocate_memoryEPv@Base 2021.4.0
+ _ZN3tbb6detail2r117fill_numa_indicesEPi@Base 2021.4.0
+ _ZN3tbb6detail2r117is_tbbmalloc_usedEv@Base 2021.4.0
+ _ZN3tbb6detail2r117itt_set_sync_nameEPvPKc@Base 2021.4.0
+ _ZN3tbb6detail2r117notify_by_addressEPvm@Base 2021.4.0
+ _ZN3tbb6detail2r117parallel_pipelineERNS0_2d118task_group_contextEmRKNS2_11filter_nodeE@Base 2021.4.0
+ _ZN3tbb6detail2r117upgrade_to_writerERNS0_2d116queuing_rw_mutex11scoped_lockE@Base 2021.4.0
+ _ZN3tbb6detail2r118try_acquire_readerERNS0_2d112rtm_rw_mutexERNS3_11scoped_lockE@Base 2021.4.0
+ _ZN3tbb6detail2r118try_acquire_writerERNS0_2d112rtm_rw_mutexERNS3_11scoped_lockE@Base 2021.4.0
+ _ZN3tbb6detail2r119capture_fp_settingsERNS0_2d118task_group_contextE@Base 2021.4.0
+ _ZN3tbb6detail2r119downgrade_to_readerERNS0_2d116queuing_rw_mutex11scoped_lockE@Base 2021.4.0
+ _ZN3tbb6detail2r119itt_make_task_groupENS0_2d115itt_domain_enumEPvyS4_yNS0_2d021string_resource_indexE@Base 2021.4.0
+ _ZN3tbb6detail2r120isolate_within_arenaERNS0_2d113delegate_baseEl@Base 2021.4.0
+ _ZN3tbb6detail2r120itt_metadata_ptr_addENS0_2d115itt_domain_enumEPvyNS0_2d021string_resource_indexES4_@Base 2021.4.0
+ _ZN3tbb6detail2r120itt_metadata_str_addENS0_2d115itt_domain_enumEPvyNS0_2d021string_resource_indexEPKc@Base 2021.4.0
+ _ZN3tbb6detail2r121current_suspend_pointEv@Base 2021.4.0
+ _ZN3tbb6detail2r121notify_by_address_allEPv@Base 2021.4.0
+ _ZN3tbb6detail2r121notify_by_address_oneEPv@Base 2021.4.0
+ _ZN3tbb6detail2r122cache_aligned_allocateEm@Base 2021.4.0
+ _ZN3tbb6detail2r122cancel_group_executionERNS0_2d118task_group_contextE@Base 2021.4.0
+ _ZN3tbb6detail2r122fill_core_type_indicesEPil@Base 2021.4.0
+ _ZN3tbb6detail2r124cache_aligned_deallocateEPv@Base 2021.4.0
+ _ZN3tbb6detail2r124numa_default_concurrencyEi@Base 2021.4.0
+ _ZN3tbb6detail2r126allocate_bounded_queue_repEm@Base 2021.4.0
+ _ZN3tbb6detail2r126wait_bounded_queue_monitorEPNS1_18concurrent_monitorEmlRNS0_2d113delegate_baseE@Base 2021.4.0
+ _ZN3tbb6detail2r127global_control_active_valueEi@Base 2021.4.0
+ _ZN3tbb6detail2r128abort_bounded_queue_monitorsEPNS1_18concurrent_monitorE@Base 2021.4.0
+ _ZN3tbb6detail2r128constraints_threads_per_coreERKNS0_2d111constraintsEl@Base 2021.4.0
+ _ZN3tbb6detail2r128deallocate_bounded_queue_repEPhm@Base 2021.4.0
+ _ZN3tbb6detail2r128is_group_execution_cancelledERNS0_2d118task_group_contextE@Base 2021.4.0
+ _ZN3tbb6detail2r128notify_bounded_queue_monitorEPNS1_18concurrent_monitorEmm@Base 2021.4.0
+ _ZN3tbb6detail2r131constraints_default_concurrencyERKNS0_2d111constraintsEl@Base 2021.4.0
+ _ZN3tbb6detail2r13getERNS0_2d121task_scheduler_handleE@Base 2021.4.0
+ _ZN3tbb6detail2r14waitERNS0_2d112wait_contextERNS2_18task_group_contextE@Base 2021.4.0
+ _ZN3tbb6detail2r14waitERNS0_2d115task_arena_baseE@Base 2021.4.0
+ _ZN3tbb6detail2r15resetERNS0_2d118task_group_contextE@Base 2021.4.0
+ _ZN3tbb6detail2r15spawnERNS0_2d14taskERNS2_18task_group_contextE@Base 2021.4.0
+ _ZN3tbb6detail2r15spawnERNS0_2d14taskERNS2_18task_group_contextEt@Base 2021.4.0
+ _ZN3tbb6detail2r16attachERNS0_2d115task_arena_baseE@Base 2021.4.0
+ _ZN3tbb6detail2r16createERNS0_2d114global_controlE@Base 2021.4.0
+ _ZN3tbb6detail2r16resumeEPNS1_18suspend_point_typeE@Base 2021.4.0
+ _ZN3tbb6detail2r16submitERNS0_2d14taskERNS2_18task_group_contextEPNS1_5arenaEm@Base 2021.4.0
+ _ZN3tbb6detail2r17acquireERNS0_2d116queuing_rw_mutexERNS3_11scoped_lockEb@Base 2021.4.0
+ _ZN3tbb6detail2r17acquireERNS0_2d19rtm_mutexERNS3_11scoped_lockEb@Base 2021.4.0
+ _ZN3tbb6detail2r17destroyERNS0_2d114global_controlE@Base 2021.4.0
+ _ZN3tbb6detail2r17destroyERNS0_2d118task_group_contextE@Base 2021.4.0
+ _ZN3tbb6detail2r17enqueueERNS0_2d14taskEPNS2_15task_arena_baseE@Base 2021.4.0
+ _ZN3tbb6detail2r17enqueueERNS0_2d14taskERNS2_18task_group_contextEPNS2_15task_arena_baseE@Base 2021.4.0
+ _ZN3tbb6detail2r17executeERNS0_2d115task_arena_baseERNS2_13delegate_baseE@Base 2021.4.0
+ _ZN3tbb6detail2r17observeERNS0_2d123task_scheduler_observerEb@Base 2021.4.0
+ _ZN3tbb6detail2r17releaseERNS0_2d112rtm_rw_mutex11scoped_lockE@Base 2021.4.0
+ _ZN3tbb6detail2r17releaseERNS0_2d116queuing_rw_mutex11scoped_lockE@Base 2021.4.0
+ _ZN3tbb6detail2r17releaseERNS0_2d19rtm_mutex11scoped_lockE@Base 2021.4.0
+ _ZN3tbb6detail2r17suspendEPFvPvPNS1_18suspend_point_typeEES2_@Base 2021.4.0
+ _ZN3tbb6detail2r17upgradeERNS0_2d112rtm_rw_mutex11scoped_lockE@Base 2021.4.0
+ _ZN3tbb6detail2r18allocateERPNS0_2d117small_object_poolEm@Base 2021.4.0
+ _ZN3tbb6detail2r18allocateERPNS0_2d117small_object_poolEmRKNS2_14execution_dataE@Base 2021.4.0
+ _ZN3tbb6detail2r18finalizeERNS0_2d121task_scheduler_handleEl@Base 2021.4.0
+ _ZN3tbb6detail2r19constructERNS0_2d116queuing_rw_mutexE@Base 2021.4.0
+ _ZN3tbb6detail2r19downgradeERNS0_2d112rtm_rw_mutex11scoped_lockE@Base 2021.4.0
+ _ZN3tbb6detail2r19is_writerERKNS0_2d116queuing_rw_mutex11scoped_lockE@Base 2021.4.0
+ _ZN3tbb6detail2r19terminateERNS0_2d115task_arena_baseE@Base 2021.4.0
+ _ZTIN3tbb6detail2r110user_abortE@Base 2021.4.0
+ _ZTIN3tbb6detail2r111unsafe_waitE@Base 2021.4.0
+ _ZTIN3tbb6detail2r112missing_waitE@Base 2021.4.0
+ _ZTIN3tbb6detail2r114bad_last_allocE@Base 2021.4.0
+ _ZTVN3tbb6detail2r110user_abortE@Base 2021.4.0
+ _ZTVN3tbb6detail2r112missing_waitE@Base 2021.4.0
+ _ZTVN3tbb6detail2r114bad_last_allocE@Base 2021.4.0
diff --git a/libtbbbind-2-5.install b/libtbbbind-2-5.install
new file mode 100644 (file)
index 0000000..40e7866
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/libtbbbind_*.so.*
diff --git a/libtbbmalloc2.install b/libtbbmalloc2.install
new file mode 100644 (file)
index 0000000..b4995fe
--- /dev/null
@@ -0,0 +1 @@
+usr/lib/*/libtbbmalloc*.so.*
diff --git a/libtbbmalloc2.symbols.amd64 b/libtbbmalloc2.symbols.amd64
new file mode 100644 (file)
index 0000000..e57e433
--- /dev/null
@@ -0,0 +1,62 @@
+libtbbmalloc.so.2 libtbbmalloc2 #MINVER#
+ MallocInitializeITT@Base 2017~U7
+ (optional)_Z9parseFileILi100ELi1EEvPKcRAT0__K13parseFileItem@Base 2018~U6
+ (optional)_Z9parseFileILi100ELi2EEvPKcRAT0__K13parseFileItem@Base 2018~U6
+ (optional)_ZN11MallocMutex11scoped_lockD1Ev@Base 2020.3
+ (optional)_ZN11MallocMutex11scoped_lockD2Ev@Base 2020.3
+ _ZN3rml10pool_msizeEPNS_10MemoryPoolEPv@Base 2019~U4
+ _ZN3rml10pool_resetEPNS_10MemoryPoolE@Base 2017~U7
+ _ZN3rml11pool_createElPKNS_13MemPoolPolicyE@Base 2017~U7
+ _ZN3rml11pool_mallocEPNS_10MemoryPoolEm@Base 2017~U7
+ _ZN3rml12pool_destroyEPNS_10MemoryPoolE@Base 2017~U7
+ _ZN3rml12pool_reallocEPNS_10MemoryPoolEPvm@Base 2017~U7
+ _ZN3rml13pool_identifyEPv@Base 2017~U7
+ _ZN3rml14pool_create_v1ElPKNS_13MemPoolPolicyEPPNS_10MemoryPoolE@Base 2017~U7
+ _ZN3rml19pool_aligned_mallocEPNS_10MemoryPoolEmm@Base 2017~U7
+ _ZN3rml20pool_aligned_reallocEPNS_10MemoryPoolEPvmm@Base 2017~U7
+ _ZN3rml9pool_freeEPNS_10MemoryPoolEPv@Base 2017~U7
+ __TBB_malloc_safer_aligned_msize@Base 2017~U7
+ __TBB_malloc_safer_aligned_realloc@Base 2017~U7
+ __TBB_malloc_safer_free@Base 2017~U7
+ __TBB_malloc_safer_msize@Base 2017~U7
+ __TBB_malloc_safer_realloc@Base 2017~U7
+ scalable_aligned_free@Base 2017~U7
+ scalable_aligned_malloc@Base 2017~U7
+ scalable_aligned_realloc@Base 2017~U7
+ scalable_allocation_command@Base 2017~U7
+ scalable_allocation_mode@Base 2017~U7
+ scalable_calloc@Base 2017~U7
+ scalable_free@Base 2017~U7
+ scalable_malloc@Base 2017~U7
+ scalable_msize@Base 2017~U7
+ scalable_posix_memalign@Base 2017~U7
+ scalable_realloc@Base 2017~U7
+libtbbmalloc_proxy.so.2 libtbbmalloc2 #MINVER#
+ _ZdaPv@Base 2017~U7
+ _ZdaPvRKSt9nothrow_t@Base 2017~U7
+ _ZdlPv@Base 2017~U7
+ _ZdlPvRKSt9nothrow_t@Base 2017~U7
+ _Znam@Base 2017~U7
+ _ZnamRKSt9nothrow_t@Base 2017~U7
+ _Znwm@Base 2017~U7
+ _ZnwmRKSt9nothrow_t@Base 2017~U7
+ __TBB_malloc_proxy@Base 2017~U7
+ __libc_calloc@Base 2017~U7
+ __libc_free@Base 2017~U7
+ __libc_malloc@Base 2017~U7
+ __libc_memalign@Base 2017~U7
+ __libc_pvalloc@Base 2017~U7
+ __libc_realloc@Base 2017~U7
+ __libc_valloc@Base 2017~U7
+ aligned_alloc@Base 2017~U7
+ calloc@Base 2017~U7
+ free@Base 2017~U7
+ mallinfo@Base 2017~U7
+ malloc@Base 2017~U7
+ malloc_usable_size@Base 2017~U7
+ mallopt@Base 2017~U7
+ memalign@Base 2017~U7
+ posix_memalign@Base 2017~U7
+ pvalloc@Base 2017~U7
+ realloc@Base 2017~U7
+ valloc@Base 2017~U7
diff --git a/not-installed b/not-installed
new file mode 100644 (file)
index 0000000..b56b176
--- /dev/null
@@ -0,0 +1 @@
+usr/share/doc/TBB/README.md
diff --git a/patches/0001-Build-tbbmalloc-also-on-mips.patch b/patches/0001-Build-tbbmalloc-also-on-mips.patch
new file mode 100644 (file)
index 0000000..8a1dfbf
--- /dev/null
@@ -0,0 +1,43 @@
+From 96efebb5ac83d7ddefa60786e8a21510446863ef Mon Sep 17 00:00:00 2001
+From: Adrian Bunk <bunk@debian.org>
+Date: Wed, 15 Jun 2022 11:16:35 +0300
+Subject: Build tbbmalloc also on mips
+
+Signed-off-by: Adrian Bunk <bunk@debian.org>
+---
+ CMakeLists.txt | 18 ++++++++----------
+ 1 file changed, 8 insertions(+), 10 deletions(-)
+
+Index: tbb/CMakeLists.txt
+===================================================================
+--- tbb.orig/CMakeLists.txt
++++ tbb/CMakeLists.txt
+@@ -216,19 +216,17 @@ else()
+     if (TBB_BUILD)
+         add_subdirectory(src/tbb)
+     endif()
+-    if (NOT "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "mips")
+-        if (TBBMALLOC_BUILD)
+-            add_subdirectory(src/tbbmalloc)
+-            if(TBBMALLOC_PROXY_BUILD AND NOT "${MSVC_CXX_ARCHITECTURE_ID}" MATCHES "ARM64")
+-                add_subdirectory(src/tbbmalloc_proxy)
+-            endif()
+-        endif()
+-        if (APPLE OR NOT BUILD_SHARED_LIBS)
+-            message(STATUS "TBBBind build targets are disabled due to unsupported environment")
+-        else()
+-            add_subdirectory(src/tbbbind)
++    if (TBBMALLOC_BUILD)
++        add_subdirectory(src/tbbmalloc)
++        if(TBBMALLOC_PROXY_BUILD AND NOT "${MSVC_CXX_ARCHITECTURE_ID}" MATCHES "ARM64")
++            add_subdirectory(src/tbbmalloc_proxy)
+         endif()
+     endif()
++    if (APPLE OR NOT BUILD_SHARED_LIBS)
++        message(STATUS "TBBBind build targets are disabled due to unsupported environment")
++    else()
++        add_subdirectory(src/tbbbind)
++    endif()
+     # -------------------------------------------------------------------
+     # Installation instructions
diff --git a/patches/776.diff b/patches/776.diff
new file mode 100644 (file)
index 0000000..cb3ac26
--- /dev/null
@@ -0,0 +1,26 @@
+https://github.com/oneapi-src/oneTBB/issues/776
+
+Index: tbb/src/tbb/tools_api/ittnotify_config.h
+===================================================================
+--- tbb.orig/src/tbb/tools_api/ittnotify_config.h
++++ tbb/src/tbb/tools_api/ittnotify_config.h
+@@ -175,6 +175,10 @@
+ #  define ITT_ARCH_HPPA  9
+ #endif /* ITT_ARCH_HPPA */
++#ifndef ITT_ARCH_GENERIC
++#  define ITT_ARCH_GENERIC 99
++#endif /* ITT_ARCH_GENERIC */
++
+ #ifndef ITT_ARCH
+ #  if defined _M_IX86 || defined __i386__
+ #    define ITT_ARCH ITT_ARCH_IA32
+@@ -194,6 +198,8 @@
+ #    define ITT_ARCH ITT_ARCH_S390X
+ #  elif defined __hppa__
+ #    define ITT_ARCH ITT_ARCH_HPPA
++#  else
++#    define ITT_ARCH ITT_ARCH_GENERIC
+ #  endif
+ #endif
diff --git a/patches/fetchadd4.patch b/patches/fetchadd4.patch
new file mode 100644 (file)
index 0000000..1cbabce
--- /dev/null
@@ -0,0 +1,32 @@
+Forward: https://github.com/oneapi-src/oneTBB/issues/776
+
+Index: tbb/src/tbb/tools_api/ittnotify_config.h
+===================================================================
+--- tbb.orig/src/tbb/tools_api/ittnotify_config.h
++++ tbb/src/tbb/tools_api/ittnotify_config.h
+@@ -167,6 +167,14 @@
+ #  define ITT_ARCH_LOONGARCH64  7
+ #endif /* ITT_ARCH_LOONGARCH64 */
++#ifndef ITT_ARCH_S390X
++#  define ITT_ARCH_S390X  8
++#endif /* ITT_ARCH_S390X */
++
++#ifndef ITT_ARCH_HPPA
++#  define ITT_ARCH_HPPA  9
++#endif /* ITT_ARCH_HPPA */
++
+ #ifndef ITT_ARCH
+ #  if defined _M_IX86 || defined __i386__
+ #    define ITT_ARCH ITT_ARCH_IA32
+@@ -182,6 +190,10 @@
+ #    define ITT_ARCH ITT_ARCH_PPC64
+ #  elif defined __loongarch__
+ #    define ITT_ARCH ITT_ARCH_LOONGARCH64
++#  elif defined __s390__ || defined __s390x__
++#    define ITT_ARCH ITT_ARCH_S390X
++#  elif defined __hppa__
++#    define ITT_ARCH ITT_ARCH_HPPA
+ #  endif
+ #endif
diff --git a/patches/remove-unaligned-test.patch b/patches/remove-unaligned-test.patch
new file mode 100644 (file)
index 0000000..044721b
--- /dev/null
@@ -0,0 +1,19 @@
+iDescription: Remove unaligned mem-accesses from test_malloc_pools.cpp
+Index: tbb/test/tbbmalloc/test_malloc_pools.cpp
+===================================================================
+--- tbb.orig/test/tbbmalloc/test_malloc_pools.cpp
++++ tbb/test/tbbmalloc/test_malloc_pools.cpp
+@@ -66,11 +66,11 @@ static std::atomic<int> liveRegions;
+ static void *getMallocMem(intptr_t /*pool_id*/, size_t &bytes)
+ {
+-    void *rawPtr = malloc(bytes+sizeof(MallocPoolHeader)+1);
++    void *rawPtr = malloc(bytes+sizeof(MallocPoolHeader));
+     if (!rawPtr)
+         return nullptr;
+     // +1 to check working with unaligned space
+-    void *ret = (void *)((uintptr_t)rawPtr+sizeof(MallocPoolHeader)+1);
++    void *ret = (void *)((uintptr_t)rawPtr+sizeof(MallocPoolHeader));
+     MallocPoolHeader *hdr = (MallocPoolHeader*)ret-1;
+     hdr->rawPtr = rawPtr;
diff --git a/patches/series b/patches/series
new file mode 100644 (file)
index 0000000..7f4452c
--- /dev/null
@@ -0,0 +1,6 @@
+remove-unaligned-test.patch
+fetchadd4.patch
+test-less-stress.patch
+776.diff
+0001-Build-tbbmalloc-also-on-mips.patch
+warning-flags.patch
diff --git a/patches/test-less-stress.patch b/patches/test-less-stress.patch
new file mode 100644 (file)
index 0000000..99aa2f7
--- /dev/null
@@ -0,0 +1,25 @@
+Forward: https://github.com/oneapi-src/oneTBB/pull/789
+Index: tbb/test/tbb/test_collaborative_call_once.cpp
+===================================================================
+--- tbb.orig/test/tbb/test_collaborative_call_once.cpp
++++ tbb/test/tbb/test_collaborative_call_once.cpp
+@@ -216,6 +216,9 @@ TEST_CASE("only calls once - stress test
+     // that makes impossible to create more than ~500 threads.
+     // Android has been added to decrease testing time.
+     constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2;
++#elif defined(__ILP32__) && defined(__x86_64__)
++       // This is for x32 port https://wiki.debian.org/X32Port
++    constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2;
+ #else 
+     constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 4;
+ #endif
+@@ -287,6 +290,9 @@ TEST_CASE("handles exceptions - stress t
+     // that makes impossible to create more than ~500 threads.
+     // Android has been added to decrease testing time.
+     constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2;
++#elif defined(__ILP32__) && defined(__x86_64__)
++       // This is for x32 port https://wiki.debian.org/X32Port
++    constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 2;
+ #else 
+     constexpr std::size_t N = tbb::detail::d0::max_nfs_size * 4;
+ #endif
diff --git a/patches/warning-flags.patch b/patches/warning-flags.patch
new file mode 100644 (file)
index 0000000..dc6dfea
--- /dev/null
@@ -0,0 +1,14 @@
+Description: https://github.com/oneapi-src/oneTBB/issues/823
+Index: tbb/cmake/compilers/GNU.cmake
+===================================================================
+--- tbb.orig/cmake/compilers/GNU.cmake
++++ tbb/cmake/compilers/GNU.cmake
+@@ -26,7 +26,7 @@ else()
+     set(TBB_DEF_FILE_PREFIX lin${TBB_ARCH})
+ endif()
+-set(TBB_WARNING_LEVEL -Wall -Wextra $<$<BOOL:${TBB_STRICT}>:-Werror> -Wfatal-errors)
++set(TBB_WARNING_LEVEL -Wall -Wextra $<$<BOOL:${TBB_STRICT}>:-Werror> -Wfatal-errors -Wno-error=uninitialized -Wno-error=array-bounds -Wno-error=use-after-free -Wno-error=address)
+ set(TBB_TEST_WARNING_FLAGS -Wshadow -Wcast-qual -Woverloaded-virtual -Wnon-virtual-dtor)
+ # Depfile options (e.g. -MD) are inserted automatically in some cases.
diff --git a/rules b/rules
new file mode 100755 (executable)
index 0000000..2d87730
--- /dev/null
+++ b/rules
@@ -0,0 +1,71 @@
+#!/usr/bin/make -f
+# export DH_VERBOSE=1
+export DEB_BUILD_MAINT_OPTIONS   = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+include /usr/share/dpkg/architecture.mk
+
+ifneq (,$(filter $(DEB_BUILD_ARCH), m68k sh4))
+BUILD_FLAGS := -DCMAKE_CXX_FLAGS="$(CXXFLAGS) $(CPPFLAGS) -faligned-new"
+else
+BUILD_FLAGS := -DCMAKE_CXX_FLAGS="$(CXXFLAGS) $(CPPFLAGS)"
+endif
+
+ifneq ($(DEB_HOST_ARCH),$(DEB_BUILD_ARCH))
+# Provide compiler information
+BUILD_FLAGS += -DCMAKE_C_COMPILER=$(DEB_HOST_GNU_TYPE)-gcc
+BUILD_FLAGS += -DCMAKE_CXX_COMPILER=$(DEB_HOST_GNU_TYPE)-g++
+endif
+
+# explicitly link against libatomic
+ifneq (,$(filter $(DEB_HOST_ARCH),armel mipsel m68k sh4 powerpc))
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic -Wl,--as-needed
+endif
+
+
+%:
+       dh $@ -Scmake+ninja
+
+# Common CMake Flags, see upstream documentation
+# https://github.com/oneapi-src/oneTBB/blob/master/cmake/README.md
+override_dh_auto_configure:
+ifeq (ia64,$(DEB_HOST_ARCH))
+       # https://github.com/oneapi-src/oneTBB/issues/777
+       # This is a quick hack to disable ITT_NOTIFY on IA64
+       sed -i -e 's/__TBB_USE_ITT_NOTIFY/__TBB_NO_USE_ITT_NOTIFY/g' src/tbb/CMakeLists.txt
+endif
+       dh_auto_configure -- \
+               -DTBB_TEST=ON \
+               -DTBB4PY_BUILD=OFF \
+               $(BUILD_FLAGS)
+
+override_dh_auto_build-arch:
+# dump out diagnostics
+       cat /proc/cpuinfo
+       gcc -dM -E - < /dev/null
+       echo Build system page size is $$(($$(getconf PAGESIZE) >> 10)) KiB
+       dh_auto_build
+
+override_dh_auto_build-indep:
+       sphinx-build -b html doc/main html
+       # strip the links to prevent privacy breach
+       -find html -type f -exec sed -i -e \
+               's@https://www.intel.com/content/dam/www/global/wap/performance-config.js@https://localhost/performance-config.js@g' '{}' \;
+       # don't ship embedded fonts
+       -$(RM) -rf html/_static/vendor
+       # remove .doctree junk
+       -$(RM) -rf html/.doctrees
+       # remove pycache
+       -$(RM) -rf html/_static/__pycache__
+       # remove embedded javascripts. they will be provided by other system packages (see .links)
+       -$(RM) html/_static/*.js
+
+override_dh_auto_test-indep:
+       :
+
+override_dh_auto_install-indep:
+       :
+
+# Makefiles should not be compressed (tbb-examples)
+override_dh_compress-indep:
+       dh_compress -X*/examples/*
diff --git a/salsa-ci.yml b/salsa-ci.yml
new file mode 100644 (file)
index 0000000..33c3a64
--- /dev/null
@@ -0,0 +1,4 @@
+---
+include:
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml
+  - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml
diff --git a/source/format b/source/format
new file mode 100644 (file)
index 0000000..163aaf8
--- /dev/null
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644 (file)
index 0000000..247f245
--- /dev/null
@@ -0,0 +1,16 @@
+cmake_minimum_required(VERSION 3.15)
+project(CXX)
+find_package(TBB)
+
+message("                TBB_FOUND: ${TBB_FOUND}")
+message("              TBB_VERSION: ${TBB_VERSION}")
+message("    TBB_INTERFACE_VERSION: ${TBB_INTERFACE_VERSION}")
+message("            TBB_tbb_FOUND: ${TBB_tbb_FOUND}")
+message("      TBB_tbbmalloc_FOUND: ${TBB_tbbmalloc_FOUND}")
+message("TBB_tbbmalloc_proxy_FOUND: ${TBB_tbbmalloc_proxy_FOUND}")
+message("     TBB_IMPORTED_TARGETS: ${TBB_IMPORTED_TARGETS}")
+
+add_executable(testcc "${CMAKE_CURRENT_SOURCE_DIR}/test.cc")
+target_link_libraries(testcc TBB::tbb)
+enable_testing()
+add_test(NAME testcc COMMAND testcc)
diff --git a/tests/cmaketest.sh b/tests/cmaketest.sh
new file mode 100755 (executable)
index 0000000..9a2300b
--- /dev/null
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -e
+cd debian/tests
+cmake -Bbuild
+cd build
+make; make test
diff --git a/tests/control b/tests/control
new file mode 100644 (file)
index 0000000..1ed785e
--- /dev/null
@@ -0,0 +1,7 @@
+Tests: runtests.sh
+Depends: @, cmake, build-essential
+Restrictions: allow-stderr
+
+Tests: cmaketest.sh
+Depends: @, cmake, build-essential
+Restrictions: allow-stderr
diff --git a/tests/runtests.sh b/tests/runtests.sh
new file mode 100755 (executable)
index 0000000..01fafa3
--- /dev/null
@@ -0,0 +1,23 @@
+#!/bin/bash
+set -e
+ncpu="$(grep 'processor' /proc/cpuinfo | wc -l)"
+cd examples
+cmake -Bbuild .
+cd build
+make -j${ncpu}
+testbins=( $(find . -type f -executable | grep -v CMake) )
+echo The testbins are: ${testbins[@]}
+for bin in ${testbins[@]}; do
+       echo running ${bin} ...
+       if (echo ${bin} | grep -o fgbzip2); then
+               ./${bin} -b=9 -async ${bin}
+       elif test tachyon = $(basename ${bin}); then
+               echo skipped.
+       elif (echo ${bin} | grep -o fractal); then
+               ./${bin} auto
+       else
+               ./${bin}
+       fi
+done
+cd ..
+rm -rf build
diff --git a/tests/test.cc b/tests/test.cc
new file mode 100644 (file)
index 0000000..e44d5f7
--- /dev/null
@@ -0,0 +1,13 @@
+// https://oneapi-src.github.io/oneTBB/main/tbb_userguide/Migration_Guide/Task_Scheduler_Init.html
+#include <cstdint>
+#include <oneapi/tbb/info.h>
+#include <oneapi/tbb/parallel_for.h>
+#include <oneapi/tbb/task_arena.h>
+#include <iostream>
+#include <cassert>
+int main()
+{
+    int num_threads = oneapi::tbb::info::default_concurrency();
+    std::cout << num_threads << std::endl;
+    return 0;
+}
diff --git a/upstream/metadata b/upstream/metadata
new file mode 100644 (file)
index 0000000..436edc1
--- /dev/null
@@ -0,0 +1,5 @@
+---
+Bug-Database: https://github.com/oneapi-src/oneTBB/issues
+Bug-Submit: https://github.com/oneapi-src/oneTBB/issues/new
+Repository: https://github.com/oneapi-src/oneTBB.git
+Repository-Browse: https://github.com/oneapi-src/oneTBB
diff --git a/watch b/watch
new file mode 100644 (file)
index 0000000..18b0aef
--- /dev/null
+++ b/watch
@@ -0,0 +1,4 @@
+version=4
+opts="compression=xz,repack,filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
+https://github.com/oneapi-src/oneTBB/tags \
+(?:.*?/)?v?(\d[\d.]*)\.tar\.gz