代码拉取完成,页面将自动刷新
From 3b9fb5b5e4c3435b6d8956743936f3566515e749 Mon Sep 17 00:00:00 2001
From: Wenlong Zhang <[email protected]>
Date: Tue, 16 Apr 2024 03:18:45 +0000
Subject: [PATCH] Add loongarch64
---
CMakeLists.txt | 4 +-
1 file changed, 2 insertion(+), 2 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5ad0718..3fd78b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -926,7 +926,7 @@
elseif(CPU_TYPE STREQUAL "x86_64")
set(DEFAULT_FLOATTEST8 no-fp-contract)
endif()
-elseif(CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64")
+elseif(CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64" OR CPU_TYPE STREQUAL "loongarch64" OR CPU_TYPE STREQUAL "riscv64")
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
if(CMAKE_C_COMPILER_VERSION VERSION_EQUAL 14.0.0 OR
CMAKE_C_COMPILER_VERSION VERSION_GREATER 14.0.0)
@@ -968,7 +968,7 @@
if(CPU_TYPE STREQUAL "x86_64")
set(DEFAULT_FLOATTEST12 no-fp-contract)
-elseif(CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64")
+elseif(CPU_TYPE STREQUAL "powerpc" OR CPU_TYPE STREQUAL "arm64" OR CPU_TYPE STREQUAL "loongarch64" OR CPU_TYPE STREQUAL "riscv64")
if(CMAKE_C_COMPILER_ID MATCHES "Clang")
if(CMAKE_C_COMPILER_VERSION VERSION_EQUAL 14.0.0 OR
CMAKE_C_COMPILER_VERSION VERSION_GREATER 14.0.0)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。