This patch provides the generic architecture fallback, which was
authorMatthias Klose <doko@debian.org>
Wed, 2 Aug 2023 20:42:54 +0000 (21:42 +0100)
committerPetter Reinholdtsen <pere@debian.org>
Wed, 2 Aug 2023 20:42:54 +0000 (21:42 +0100)
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 0f5d80f65942e1282037bbde09881b26c1873705..40040d64217e33e9dac5358d5e65d40bf657449a 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