[compiler-rt] r242424 - [CMake] Workaround for PR24144: avoid installing libcxx_tsan and libcxx_msan by default "ninja install" command.
Alexey Samsonov
vonosmas at gmail.com
Thu Jul 16 10:53:01 PDT 2015
Author: samsonov
Date: Thu Jul 16 12:53:01 2015
New Revision: 242424
URL: http://llvm.org/viewvc/llvm-project?rev=242424&view=rev
Log:
[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
Modified:
compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
Modified: compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake?rev=242424&r1=242423&r2=242424&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake Thu Jul 16 12:53:01 2015
@@ -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()
More information about the llvm-commits
mailing list