mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 00:02:21 +08:00
Merge branch 'upstream-KWIML' into update-kwiml
# By KWIML Upstream * upstream-KWIML: KWIML 2025-08-05 (2eae04db)
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
# See accompanying file Copyright.txt for details.
|
# See accompanying file Copyright.txt for details.
|
||||||
#
|
#
|
||||||
if("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_SOURCE_DIR}")
|
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)
|
set(kwiml_standalone 1)
|
||||||
project(KWIML)
|
project(KWIML)
|
||||||
include(CTest)
|
include(CTest)
|
||||||
|
@@ -481,6 +481,10 @@ suppression macro KWIML_ABI_NO_VERIFY was defined.
|
|||||||
#elif defined(__riscv) || defined(__riscv__)
|
#elif defined(__riscv) || defined(__riscv__)
|
||||||
# define KWIML_ABI_ENDIAN_ID KWIML_ABI_ENDIAN_ID_LITTLE
|
# 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 */
|
/* Unknown CPU */
|
||||||
#elif !defined(KWIML_ABI_NO_ERROR_ENDIAN)
|
#elif !defined(KWIML_ABI_NO_ERROR_ENDIAN)
|
||||||
# error "Byte order of target CPU unknown."
|
# error "Byte order of target CPU unknown."
|
||||||
|
Reference in New Issue
Block a user