13b921b29Sopenharmony_ciFrom 97ca1ba6c5db46675e08899cfda80edf326a21af Mon Sep 17 00:00:00 2001
23b921b29Sopenharmony_ciFrom: doupengda <doupengda@loongson.cn>
33b921b29Sopenharmony_ciDate: Mon, 5 Dec 2022 02:46:49 +0000
43b921b29Sopenharmony_ciSubject: [PATCH] Add loongarch64
53b921b29Sopenharmony_ci
63b921b29Sopenharmony_ci---
73b921b29Sopenharmony_ci CMakeLists.txt | 2 +-
83b921b29Sopenharmony_ci 1 file changed, 1 insertion(+), 1 deletion(-)
93b921b29Sopenharmony_ci
103b921b29Sopenharmony_cidiff --git a/CMakeLists.txt b/CMakeLists.txt
113b921b29Sopenharmony_ciindex c01ec25..693cfc4 100644
123b921b29Sopenharmony_ci--- a/CMakeLists.txt
133b921b29Sopenharmony_ci+++ b/CMakeLists.txt
143b921b29Sopenharmony_ci@@ -927,7 +927,7 @@ if(CPU_TYPE STREQUAL "x86_64" OR CPU_TYPE STREQUAL "i386")
153b921b29Sopenharmony_ci   # manually.
163b921b29Sopenharmony_ci   endif()
173b921b29Sopenharmony_ci else()
183b921b29Sopenharmony_ci-  if((CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64") AND
193b921b29Sopenharmony_ci+  if((CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64" OR CPU_TYPE STREQUAL "loongarch64") AND
203b921b29Sopenharmony_ci     NOT CMAKE_C_COMPILER_ID STREQUAL "Clang" AND NOT MSVC)
213b921b29Sopenharmony_ci     set(DEFAULT_FLOATTEST fp-contract)
223b921b29Sopenharmony_ci   else()
233b921b29Sopenharmony_ci-- 
243b921b29Sopenharmony_ci2.33.0
253b921b29Sopenharmony_ci
26