From: Matthias Klose Date: Wed, 2 Aug 2023 20:42:54 +0000 (+0100) Subject: This patch provides the generic architecture fallback, which was X-Git-Tag: archive/raspbian/2021.9.0-2+rpi1^2~4 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2d8e8012ee62de26543e554d68264d23fd076e1d;p=onetbb.git 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 --- diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h index 0f5d80f..40040d6 100644 --- a/src/tbb/tools_api/ittnotify_config.h +++ b/src/tbb/tools_api/ittnotify_config.h @@ -184,6 +184,10 @@ # define ITT_ARCH_RISCV64 10 #endif /* ITT_ARCH_RISCV64 */ +#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 @@ -205,6 +209,8 @@ # define ITT_ARCH ITT_ARCH_HPPA # elif defined __riscv && __riscv_xlen == 64 # define ITT_ARCH ITT_ARCH_RISCV64 +# else +# define ITT_ARCH ITT_ARCH_GENERIC # endif #endif