onetbb.git
23 months agoAvoid build problem on armel caused by strange compiler.
Debian Science Maintainers [Tue, 26 Dec 2023 19:26:37 +0000 (14:26 -0500)]
Avoid build problem on armel caused by strange compiler.

Add indirection and a result test which seem to confuse GCC 13 less
than the original statements.
 Fixes build problem:
   In file included from /usr/include/c++/13/atomic:41,
                    from /<<PKGBUILDDIR>>/test/common/doctest.h:2990,
                    from /<<PKGBUILDDIR>>/test/common/test.h:32,
                    from /<<PKGBUILDDIR>>/test/tbb/test_concurrent_monitor.cpp:26:
   In member function ‘void std::__atomic_base<_IntTp>::store(__int_type, std::memory_order) [with _ITp = bool]’,
       inlined from ‘void std::atomic<bool>::store(bool, std::memory_order)’ at /usr/include/c++/13/atomic:104:20,
       inlined from ‘void tbb::detail::r1::concurrent_monitor_base<Context>::notify_one_relaxed() [with Context = unsigned int]’ at /<<PKGBUILDDIR>>/test/tbb/../../src/tbb/concurrent_monitor.h:293:53,
       inlined from ‘void tbb::detail::r1::concurrent_monitor_base<Context>::notify_one() [with Context = unsigned int]’ at /<<PKGBUILDDIR>>/test/tbb/../../src/tbb/concurrent_monitor.h:276:27,
       inlined from ‘void DOCTEST_ANON_FUNC_35()’ at /<<PKGBUILDDIR>>/test/tbb/test_concurrent_monitor.cpp:87:44:
   /usr/include/c++/13/bits/atomic_base.h:481:25: error: ‘void __atomic_store_1(volatile void*, unsigned char, int)’ writing 1 byte into a region of size 0 overflows the destination [-Werror=stringop-overflow=]
     481 |         __atomic_store_n(&_M_i, __i, int(__m));
         |         ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~

Author: Petter Reinholdtsen <pere@debian.org>
Forwarded: no
Bug-Debian: https://bugs.debian.org/1042009
Last-Update: 2023-07-31

Gbp-Pq: Name 1050-armel-atomic-past-buffer.patch

23 months agoSuppress compiler warnings since GCC-12. (Closes: #1016283)
Mo Zhou [Tue, 26 Dec 2023 19:26:37 +0000 (14:26 -0500)]
Suppress compiler warnings since GCC-12. (Closes: #1016283)

Last-Update: 2022-08-18
Forwarded: https://github.com/oneapi-src/oneTBB/issues/823

Gbp-Pq: Name 1030-warning-flags.patch

23 months agoThis patch provides the generic architecture fallback, which was
Matthias Klose [Tue, 26 Dec 2023 19:26:37 +0000 (14:26 -0500)]
This patch provides the generic architecture fallback, which was

Last-Update: 2023-06-17
Bug-Debian: https://bugs.debian.org/1006920
Forwarded: https://github.com/oneapi-src/oneTBB/issues/776

not merged by upstream. We just keep the patch here.

Gbp-Pq: Name 1020-arch-generic.patch

23 months agoReduce stress of test_collaborative_call_once on __arm__.
Mo Zhou [Tue, 26 Dec 2023 19:26:37 +0000 (14:26 -0500)]
Reduce stress of test_collaborative_call_once on __arm__.

Last-Update: 2022-02-15
Forwarded: https://github.com/oneapi-src/oneTBB/pull/789

Gbp-Pq: Name 1010-test-less-stress.patch

23 months agoRemove unaligned mem-accesses from test_malloc_pools.cpp
Steve Capper [Tue, 26 Dec 2023 19:26:37 +0000 (14:26 -0500)]
Remove unaligned mem-accesses from test_malloc_pools.cpp

Last-Changed: 2017-08-13
Forwarded: no

This should help sparc64 tests, if we miss a case a SIGBUS
will greet us.

Gbp-Pq: Name 1000-remove-unaligned-test.patch

23 months agoonetbb (2021.11.0-2) unstable; urgency=medium
Mo Zhou [Tue, 26 Dec 2023 19:26:37 +0000 (14:26 -0500)]
onetbb (2021.11.0-2) unstable; urgency=medium

  * Autopkgtest: reduce testing workload to avoid timeout on weak CPUs.

[dgit import unpatched onetbb 2021.11.0-2]

23 months agoImport onetbb_2021.11.0-2.debian.tar.xz
Mo Zhou [Tue, 26 Dec 2023 19:26:37 +0000 (14:26 -0500)]
Import onetbb_2021.11.0-2.debian.tar.xz

[dgit import tarball onetbb 2021.11.0-2 onetbb_2021.11.0-2.debian.tar.xz]

2 years agoImport onetbb_2021.11.0.orig.tar.xz
Mo Zhou [Fri, 24 Nov 2023 05:13:46 +0000 (00:13 -0500)]
Import onetbb_2021.11.0.orig.tar.xz

[dgit import orig onetbb_2021.11.0.orig.tar.xz]