[llvm] 7f047c4 - Add `mlir` to -DLLVM_ALL_PROJECTS CMake option

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 23 23:24:56 PST 2019


Author: Mehdi Amini
Date: 2019-12-24T07:24:21Z
New Revision: 7f047c4c91c364735bc0a2f2cd1fdefab856bee3

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

LOG: Add `mlir` to -DLLVM_ALL_PROJECTS CMake option

Added: 
    

Modified: 
    llvm/CMakeLists.txt
    llvm/tools/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 1479e29b4a3a..eeac7bab850a 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -63,7 +63,7 @@ endif()
 # LLVM_EXTERNAL_${project}_SOURCE_DIR using LLVM_ALL_PROJECTS
 # This allows an easy way of setting up a build directory for llvm and another
 # one for llvm+clang+... using the same sources.
-set(LLVM_ALL_PROJECTS "clang;clang-tools-extra;compiler-rt;debuginfo-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;llgo;openmp;parallel-libs;polly;pstl")
+set(LLVM_ALL_PROJECTS "clang;clang-tools-extra;compiler-rt;debuginfo-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;llgo;mlir;openmp;parallel-libs;polly;pstl")
 set(LLVM_ENABLE_PROJECTS "" CACHE STRING
 	"Semicolon-separated list of projects to build (${LLVM_ALL_PROJECTS}), or \"all\".")
 if( LLVM_ENABLE_PROJECTS STREQUAL "all" )

diff  --git a/llvm/tools/CMakeLists.txt b/llvm/tools/CMakeLists.txt
index 6084b3befa44..b0069e4f2ece 100644
--- a/llvm/tools/CMakeLists.txt
+++ b/llvm/tools/CMakeLists.txt
@@ -45,6 +45,7 @@ add_llvm_external_project(clang)
 add_llvm_external_project(llgo)
 add_llvm_external_project(lld)
 add_llvm_external_project(lldb)
+add_llvm_external_project(mlir)
 
 # Automatically add remaining sub-directories containing a 'CMakeLists.txt'
 # file as external projects.


        


More information about the llvm-commits mailing list