[PATCH] D130821: [cmake] Support native LoongArch builds
Lu Weining via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 1 00:11:04 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG313ce7217e65: [cmake] Support native LoongArch builds (authored by WANG Xuerui <xen0n at gentoo.org>, committed by SixWeining).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D130821/new/
https://reviews.llvm.org/D130821
Files:
llvm/cmake/config-ix.cmake
Index: llvm/cmake/config-ix.cmake
===================================================================
--- llvm/cmake/config-ix.cmake
+++ llvm/cmake/config-ix.cmake
@@ -498,6 +498,8 @@
set(LLVM_NATIVE_ARCH RISCV)
elseif (LLVM_NATIVE_ARCH STREQUAL "m68k")
set(LLVM_NATIVE_ARCH M68k)
+elseif (LLVM_NATIVE_ARCH MATCHES "loongarch")
+ set(LLVM_NATIVE_ARCH LoongArch)
else ()
message(FATAL_ERROR "Unknown architecture ${LLVM_NATIVE_ARCH}")
endif ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130821.448930.patch
Type: text/x-patch
Size: 456 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220801/3eaab193/attachment.bin>
More information about the llvm-commits
mailing list