diff options
author | Mehdi Amini <aminim@google.com> | 2019-12-24 07:23:51 +0000 |
---|---|---|
committer | Mehdi Amini <aminim@google.com> | 2019-12-24 07:24:21 +0000 |
commit | 7f047c4c91c364735bc0a2f2cd1fdefab856bee3 (patch) | |
tree | 370e4a02b876343db7d9b920e92f279127c4ca36 | |
parent | 0a72515d33bb1931ca8ad4022f743a33a203ea33 (diff) | |
download | bcm5719-llvm-7f047c4c91c364735bc0a2f2cd1fdefab856bee3.tar.gz bcm5719-llvm-7f047c4c91c364735bc0a2f2cd1fdefab856bee3.zip |
Add `mlir` to -DLLVM_ALL_PROJECTS CMake option
-rw-r--r-- | llvm/CMakeLists.txt | 2 | ||||
-rw-r--r-- | llvm/tools/CMakeLists.txt | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt index 1479e29b4a3..eeac7bab850 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 6084b3befa4..b0069e4f2ec 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. |