- update to 2021.6.0: * Improved support and use of the latest C++ standards for parallel_sort that allows using this algorithm with user-defined and standard library-defined objects with modern semantics. * The following features are now fully functional: task_arena extensions, collaborative_call_once, adaptive mutexes, heterogeneous overloads for concurrent_hash_map, and task_scheduler_handle. * Added support for Windows* Server 2022 and Python 3.10. * Memory allocator crash on a system with an incomplete /proc/meminfo * Incorrect blocking of task stealing * Hang due to incorrect decrement of a limiter_node * Memory corruption in some rare cases when passing big messages in a flow graph * Possible deadlock in a throwable flow graph node with a lightweight policy. The lightweight policy is now ignored for functors that can throw exceptions * Crash when obtaining a range from empty ordered and unordered containers * Deadlock in a concurrent_vector resize() that could happen when the new size is less than the previous size - drop tbb-pr609-32bit-mwaitpkg.patch (upstream) - add 5cb212d44732947396abdd39eae1229c7cd51644.patch, 917.patch: build on riscv64, hppa, s390x OBS-URL: https://build.opensuse.org/request/show/1005775 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/tbb?expand=0&rev=77
44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
From 5cb212d44732947396abdd39eae1229c7cd51644 Mon Sep 17 00:00:00 2001
|
|
From: Kirigami <prcups@v-signal.xyz>
|
|
Date: Sun, 14 Aug 2022 16:21:51 +0800
|
|
Subject: [PATCH] add loongarch support (#850)
|
|
|
|
* add loongarch support
|
|
|
|
* update the copyright year of ittnotify_config.h
|
|
---
|
|
src/tbb/tools_api/ittnotify_config.h | 8 +++++++-
|
|
1 file changed, 7 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h
|
|
index f904a8e9d..5e7c0cdf5 100644
|
|
--- a/src/tbb/tools_api/ittnotify_config.h
|
|
+++ b/src/tbb/tools_api/ittnotify_config.h
|
|
@@ -1,5 +1,5 @@
|
|
/*
|
|
- Copyright (c) 2005-2021 Intel Corporation
|
|
+ Copyright (c) 2005-2022 Intel Corporation
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
you may not use this file except in compliance with the License.
|
|
@@ -163,6 +163,10 @@
|
|
# define ITT_ARCH_ARM64 6
|
|
#endif /* ITT_ARCH_ARM64 */
|
|
|
|
+#ifndef ITT_ARCH_LOONGARCH64
|
|
+# define ITT_ARCH_LOONGARCH64 7
|
|
+#endif /* ITT_ARCH_LOONGARCH64 */
|
|
+
|
|
#ifndef ITT_ARCH
|
|
# if defined _M_IX86 || defined __i386__
|
|
# define ITT_ARCH ITT_ARCH_IA32
|
|
@@ -176,6 +180,8 @@
|
|
# define ITT_ARCH ITT_ARCH_ARM64
|
|
# elif defined __powerpc64__
|
|
# define ITT_ARCH ITT_ARCH_PPC64
|
|
+# elif defined __loongarch__
|
|
+# define ITT_ARCH ITT_ARCH_LOONGARCH64
|
|
# endif
|
|
#endif
|
|
|