Add support for Loongarch

This commit is contained in:
YalingFang
2026-04-04 20:10:25 +02:00
committed by selsta
parent 23b420a992
commit 0e45918b2b
3 changed files with 13 additions and 1 deletions
+4
View File
@@ -150,6 +150,10 @@ if(ARCHITECTURE STREQUAL "riscv64")
set(ARCH_ID "riscv64")
set(ARCH "rv64gc")
endif()
if(ARCHITECTURE STREQUAL "loongarch64")
set(ARCH_ID "loongarch64")
set(ARCH "loongarch")
endif()
if(ARCHITECTURE STREQUAL "i686")
SET(ARCH_ID "i386")