[CMake] Workaround for PR24144: avoid installing libcxx_tsan and libcxx_msan by default "ninja install" command.

Summary:
Exclude external libc++ builds from "all" target, so that they are only
build on demand, and are not installed together with LLVM/Clang.

Reviewers: hans

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D11252

llvm-svn: 242424
This commit is contained in:
Alexey Samsonov 2015-07-16 17:53:01 +00:00
parent 9b0fe61047
commit 70231d68dc
1 changed files with 2 additions and 0 deletions

View File

@ -245,6 +245,7 @@ macro(add_custom_libcxx name prefix)
list(APPEND LIBCXX_DEPS clang)
endif()
set(EXCLUDE_FROM_ALL TRUE)
ExternalProject_Add(${name}
PREFIX ${prefix}
SOURCE_DIR ${COMPILER_RT_LIBCXX_PATH}
@ -271,4 +272,5 @@ macro(add_custom_libcxx name prefix)
DEPENDERS configure
DEPENDS ${LIBCXX_DEPS}
)
set(EXCLUDE_FROM_ALL FALSE)
endmacro()