From 8203b6a3bd08ba502567ba0eb5fe331bd2e1c941 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Wed, 1 Jan 2025 20:29:54 -0500 Subject: [PATCH] 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 --- src/tbb/tools_api/ittnotify_config.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/tbb/tools_api/ittnotify_config.h b/src/tbb/tools_api/ittnotify_config.h index 001d42e..53e82af 100644 --- a/src/tbb/tools_api/ittnotify_config.h +++ b/src/tbb/tools_api/ittnotify_config.h @@ -196,6 +196,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 @@ -217,6 +221,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 -- 2.30.2