<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 9, 2014 at 4:17 AM, Evgeniy Stepanov <span dir="ltr"><<a href="mailto:eugeni.stepanov@gmail.com" target="_blank">eugeni.stepanov@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: eugenis<br>
Date: Mon Jun  9 06:17:37 2014<br>
New Revision: 210465<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=210465&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=210465&view=rev</a><br>
Log:<br>
[asan] Remove dependency of tests on runtime library in standalone build.<br>
<br>
Modified:<br>
    compiler-rt/trunk/test/asan/CMakeLists.txt<br>
<br>
Modified: compiler-rt/trunk/test/asan/CMakeLists.txt<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/CMakeLists.txt?rev=210465&r1=210464&r2=210465&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/CMakeLists.txt?rev=210465&r1=210464&r2=210465&view=diff</a><br>

==============================================================================<br>
--- compiler-rt/trunk/test/asan/CMakeLists.txt (original)<br>
+++ compiler-rt/trunk/test/asan/CMakeLists.txt Mon Jun  9 06:17:37 2014<br>
@@ -96,8 +96,10 @@ if(COMPILER_RT_INCLUDE_TESTS)<br>
     ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg)<br>
 endif()<br>
<br>
-set(ASAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS} asan)<br>
-if(NOT COMPILER_RT_STANDALONE_BUILD)<br>
+set(ASAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS})<br>
+if(COMPILER_RT_STANDALONE_BUILD)<br>
+  list(APPEND ASAN_TEST_DEPS ${LLVM_TOOLS_BINARY_DIR}/FileCheck)<br></blockquote><div><br></div><div>Why? In a standalone build FileCheck is just some external binary.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

+else()<br></blockquote><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
   list(APPEND ASAN_TEST_DEPS asan)<br>
 endif()<br>
<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Alexey Samsonov<br><a href="mailto:vonosmas@gmail.com" target="_blank">vonosmas@gmail.com</a></div>
</div></div>