This patch provides the generic architecture fallback, which was
authorMatthias Klose <doko@debian.org>
Sat, 22 Feb 2025 18:51:55 +0000 (13:51 -0500)
committerMo Zhou <lumin@debian.org>
Sat, 22 Feb 2025 18:51:55 +0000 (13:51 -0500)
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

index 001d42e0e518dced14a148f0cbf75b9417b75b01..53e82af859830653b603f6f6a63493aba7d95761 100644 (file)
 #  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
 #    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