KWIML 2025-08-05 (2eae04db)

Code extracted from:

    https://gitlab.kitware.com/utils/kwiml.git

at commit 2eae04db635472d14c9e18b96c5297c0257c9925 (master).

Upstream Shortlog
-----------------

Brad King (1):
      2eae04db cmake: Require 3.13 and enable policies through 4.0

Verney7 (1):
      056a6c62 abi.h: Add sw_64 support
This commit is contained in:
KWIML Upstream 2025-08-05 09:32:31 -04:00 committed by Brad King
parent 83dd9be285
commit 1ec3395200
2 changed files with 5 additions and 1 deletions

View File

@ -4,7 +4,7 @@
# See accompanying file Copyright.txt for details.
#
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
cmake_minimum_required(VERSION 3.0 FATAL_ERROR)
cmake_minimum_required(VERSION 3.13..4.0 FATAL_ERROR)
set(kwiml_standalone 1)
project(KWIML)
include(CTest)

View File

@ -481,6 +481,10 @@ suppression macro KWIML_ABI_NO_VERIFY was defined.
#elif defined(__riscv) || defined(__riscv__)
# define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE
/* Sunway */
#elif defined(__sw_64) || defined(__sw_64__)
# define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE
/* Unknown CPU */
#elif !defined(KWIML_ABI_NO_ERROR_ENDIAN)
# error "Byte order of target CPU unknown."