summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2019-02-07 01:12:56 +0000
committerShoaib Meenai <smeenai@fb.com>2019-02-07 01:12:56 +0000
commit18f0bd78e2ced601496f7b4f573ee743c9030281 (patch)
treebc8b481787ec872866b437f0c5e2874cec5040da
parent161e4753b9661d887506711ef7344a92270f004b (diff)
downloadbcm5719-llvm-18f0bd78e2ced601496f7b4f573ee743c9030281.tar.gz
bcm5719-llvm-18f0bd78e2ced601496f7b4f573ee743c9030281.zip
[cmake] Drop clang-tools-extra from LLVM_ALL_PROJECTS
We iterate over the list and only enable projects from that list that are present in LLVM_ENABLE_PROJECTS and disable all other projects. Most users will only specify clang in LLVM_ENABLE_PROJECTS and expect clang-tools-extra to be implicitly enabled, so remove clang-tools-extra from LLVM_ALL_PROJECTS so that it doesn't get disabled instead. llvm-svn: 353354
-rw-r--r--llvm/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 31eaf6679d0..3e675d5ff5b 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -104,7 +104,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;libclc;libcxx;libcxxabi;libunwind;lld;lldb;llgo;llvm;openmp;parallel-libs;polly;pstl")
+set(LLVM_ALL_PROJECTS "clang;compiler-rt;debuginfo-tests;libclc;libcxx;libcxxabi;libunwind;lld;lldb;llgo;llvm;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" )
OpenPOWER on IntegriCloud