[llvm] b5cb91f - [CMake][LoongArch] Add LoongArch to LLVM_ALL_TARGETS so it is built by default

Weining Lu via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 15:55:39 PST 2023


Author: Weining Lu
Date: 2023-01-11T07:53:08+08:00
New Revision: b5cb91fc1cb851dcc4d3dc82a19a9d56dd352350

URL: https://github.com/llvm/llvm-project/commit/b5cb91fc1cb851dcc4d3dc82a19a9d56dd352350
DIFF: https://github.com/llvm/llvm-project/commit/b5cb91fc1cb851dcc4d3dc82a19a9d56dd352350.diff

LOG: [CMake][LoongArch] Add LoongArch to LLVM_ALL_TARGETS so it is built by default

This follows the [[ https://discourse.llvm.org/t/rfc-promoting-the-loongarch-backend-from-experimental-to-official/67506/ | RFC ]].

Follow-on commits will add appropriate release notes changes etc.

Submit this now and in a minimal form so there is reasonable time before
16.0.0 is branched to resolve any issues arising from e.g. the backend
being exposed on different compiler/sanitizer setups.

The current builder for LoongArch is on the [[ https://lab.llvm.org/staging/#/builders/236 | staging area ]].

Reviewed By: jyknight, MaskRay, echristo, myhsu, tstellar, arsenm

Differential Revision: https://reviews.llvm.org/D141191

Added: 
    

Modified: 
    llvm/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 8e8cd3e38359..58fc88541573 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -431,6 +431,7 @@ set(LLVM_ALL_TARGETS
   BPF
   Hexagon
   Lanai
+  LoongArch
   Mips
   MSP430
   NVPTX


        


More information about the llvm-commits mailing list