[compiler-rt] r242444 - [CMake] One more attempt to fix PR24144.
Alexey Samsonov
vonosmas at gmail.com
Thu Jul 16 14:20:05 PDT 2015
Author: samsonov
Date: Thu Jul 16 16:20:05 2015
New Revision: 242444
URL: http://llvm.org/viewvc/llvm-project?rev=242444&view=rev
Log:
[CMake] One more attempt to fix PR24144.
This time, exclude ExternalProject from build using set_target_properties.
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=242444&r1=242443&r2=242444&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/AddCompilerRT.cmake Thu Jul 16 16:20:05 2015
@@ -245,7 +245,6 @@ 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}
@@ -259,6 +258,7 @@ macro(add_custom_libcxx name prefix)
LOG_CONFIGURE 1
LOG_INSTALL 1
)
+ set_target_properties(${name} PROPERTIES EXCLUDE_FROM_ALL TRUE)
ExternalProject_Add_Step(${name} force-reconfigure
DEPENDERS configure
@@ -272,5 +272,4 @@ 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