[compiler-rt] r218444 - Follow-up for r217523: fix the dependencies for standalone compiler-rt build.
Alexander Potapenko
glider at google.com
Thu Sep 25 02:30:06 PDT 2014
Author: glider
Date: Thu Sep 25 04:30:05 2014
New Revision: 218444
URL: http://llvm.org/viewvc/llvm-project?rev=218444&view=rev
Log:
Follow-up for r217523: fix the dependencies for standalone compiler-rt build.
Patch by Kuba Brecka (kuba.brecka at gmail.com)
Modified:
compiler-rt/trunk/cmake/Modules/CompilerRTCompile.cmake
Modified: compiler-rt/trunk/cmake/Modules/CompilerRTCompile.cmake
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/cmake/Modules/CompilerRTCompile.cmake?rev=218444&r1=218443&r2=218444&view=diff
==============================================================================
--- compiler-rt/trunk/cmake/Modules/CompilerRTCompile.cmake (original)
+++ compiler-rt/trunk/cmake/Modules/CompilerRTCompile.cmake Thu Sep 25 04:30:05 2014
@@ -73,7 +73,9 @@ macro(clang_compiler_add_cxx_check)
add_custom_target(CompilerRTUnitTestCheckCxx
COMMAND bash -c "${CMD}"
COMMENT "Checking that just-built clang can find C++ headers..."
- DEPENDS clang
VERBATIM)
+ if (TARGET clang)
+ ADD_DEPENDENCIES(CompilerRTUnitTestCheckCxx clang)
+ endif()
endif()
endmacro()
More information about the llvm-commits
mailing list