[PATCH] D11252: [CMake] Workaround for PR24144: avoid installing libcxx_tsan and libcxx_msan by default "ninja install" command.
Alexey Samsonov
vonosmas at gmail.com
Wed Jul 15 18:04:51 PDT 2015
samsonov created this revision.
samsonov added a reviewer: hans.
samsonov added a subscriber: llvm-commits.
Exclude external libc++ builds from "all" target, so that they are only
build on demand, and are not installed together with LLVM/Clang.
http://reviews.llvm.org/D11252
Files:
cmake/Modules/AddCompilerRT.cmake
Index: cmake/Modules/AddCompilerRT.cmake
===================================================================
--- cmake/Modules/AddCompilerRT.cmake
+++ cmake/Modules/AddCompilerRT.cmake
@@ -245,6 +245,7 @@
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 @@
DEPENDERS configure
DEPENDS ${LIBCXX_DEPS}
)
+ set(EXCLUDE_FROM_ALL FALSE)
endmacro()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11252.29861.patch
Type: text/x-patch
Size: 503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150716/d1cd98b7/attachment.bin>
More information about the llvm-commits
mailing list