add support for loongarch64
authorDandan Zhang <zhangdandan@loongson.cn>
Mon, 29 Apr 2024 14:16:28 +0000 (16:16 +0200)
committerMichael R. Crusoe <crusoe@debian.org>
Mon, 29 Apr 2024 14:16:28 +0000 (16:16 +0200)
Upstream:  https://gitlab.kitware.com/seanm/vtk/-/commit/886b536a0d0bb3694951e09169a52896d585c517

Gbp-Pq: Name 121_add_support_for_loong64.patch

Utilities/KWIML/vtkkwiml/include/kwiml/abi.h

index da525fdcb6320a27acaf18a8aa2e204a29348c59..8caea2b632a5431684f455e3aaa6fc5fe76f9010 100644 (file)
@@ -407,6 +407,10 @@ suppression macro KWIML_ABI_NO_VERIFY was defined.
 #elif defined(__hppa) || defined(__hppa__)
 # define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_BIG
 
+/* LoongArch */
+#elif defined(__loongarch64)
+# define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE
+
 /* Motorola 68k */
 #elif defined(__m68k__) || defined(M68000)
 # define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_BIG