diff options
author | 2022-01-20 16:02:17 +1100 | |
---|---|---|
committer | 2022-01-20 12:30:58 +0000 | |
commit | 675d894c36bfd854d8f7624912d34e9dd6ca7177 (patch) | |
tree | 6a8744483e381ba97f087e888b9332ceda5d9a60 /dev-cpp/tbb/files | |
parent | dev-python/cython: Stabilize 0.29.26 ppc, #831546 (diff) | |
download | gentoo-675d894c36bfd854d8f7624912d34e9dd6ca7177.tar.gz gentoo-675d894c36bfd854d8f7624912d34e9dd6ca7177.tar.bz2 gentoo-675d894c36bfd854d8f7624912d34e9dd6ca7177.zip |
dev-cpp/tbb: fix undefined __TBB_machine_fetchadd4
Closes: https://bugs.gentoo.org/827883
Signed-off-by: Alex Fan <alex.fan.q@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23878
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/tbb/files')
-rw-r--r-- | dev-cpp/tbb/files/tbb-2021.4.0-missing-TBB_machine_fetchadd4.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/dev-cpp/tbb/files/tbb-2021.4.0-missing-TBB_machine_fetchadd4.patch b/dev-cpp/tbb/files/tbb-2021.4.0-missing-TBB_machine_fetchadd4.patch new file mode 100644 index 000000000000..091cad5821e7 --- /dev/null +++ b/dev-cpp/tbb/files/tbb-2021.4.0-missing-TBB_machine_fetchadd4.patch @@ -0,0 +1,23 @@ +https://github.com/oneapi-src/oneTBB/issues/186 +https://github.com/oneapi-src/oneTBB/pull/550 +https://bugs.gentoo.org/827883 + +From: Felix Yan <felixonmars@archlinux.org> +Date: Thu, 7 Oct 2021 14:16:16 +0800 +Subject: [PATCH] Define ITT_ARCH_IA64 when undefiend (#550) + +Upstream-Status: Merged in commit later than 2021.5.0 + +--- a/src/tbb/tools_api/ittnotify_config.h ++++ b/src/tbb/tools_api/ittnotify_config.h +@@ -147,6 +147,10 @@ + # define ITT_ARCH_IA32E 2 + #endif /* ITT_ARCH_IA32E */ + ++#ifndef ITT_ARCH_IA64 ++# define ITT_ARCH_IA64 3 ++#endif /* ITT_ARCH_IA64 */ ++ + #ifndef ITT_ARCH_ARM + # define ITT_ARCH_ARM 4 + #endif /* ITT_ARCH_ARM */ |