<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 21, 2013 at 7:12 AM, Edwin Vane <span dir="ltr"><<a href="mailto:edwin.vane@intel.com" target="_blank">edwin.vane@intel.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: revane<br>
Date: Thu Feb 21 09:12:01 2013<br>
New Revision: 175744<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=175744&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=175744&view=rev</a><br>
Log:<br>
Fixing a "multiple rules generate X" warning from ninja<br></blockquote><div><br></div><div style>Thanks, I've been wondering about that.</div><div style><br></div><div style>- David</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
CMake's Ninja generator was not detecting that test/<a href="http://lit.site.cfg.in" target="_blank">lit.site.cfg.in</a> and<br>
test/subdir/../<a href="http://lit.site.cfg.in" target="_blank">lit.site.cfg.in</a> were really the same file. Ninja noticed this<br>
and complained as both appeared as targets (for the missing file rule). Now<br>
canonicalizing the path to ensure the paths presented to CMake are identical<br>
and the duplication is now fixed.<br>
<br>
<br>
Modified:<br>
clang-tools-extra/trunk/test/cpp11-migrate/CMakeLists.txt<br>
<br>
Modified: clang-tools-extra/trunk/test/cpp11-migrate/CMakeLists.txt<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/cpp11-migrate/CMakeLists.txt?rev=175744&r1=175743&r2=175744&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/cpp11-migrate/CMakeLists.txt?rev=175744&r1=175743&r2=175744&view=diff</a><br>
==============================================================================<br>
--- clang-tools-extra/trunk/test/cpp11-migrate/CMakeLists.txt (original)<br>
+++ clang-tools-extra/trunk/test/cpp11-migrate/CMakeLists.txt Thu Feb 21 09:12:01 2013<br>
@@ -53,7 +53,8 @@ add_custom_target(cpp11-migrate-autogen<br>
set(TEST_SOURCE_ROOT ${CMAKE_CURRENT_BINARY_DIR}/generated_tests)<br>
set(TEST_EXEC_ROOT ${CMAKE_CURRENT_BINARY_DIR})<br>
set(TESTSUITE_NAME "cpp11-migrate Auto-Generated Tests")<br>
+get_filename_component(INPUT_LIT_CFG ${CMAKE_CURRENT_SOURCE_DIR}/../<a href="http://lit.site.cfg.in" target="_blank">lit.site.cfg.in</a> REALPATH)<br>
configure_lit_site_cfg(<br>
- ${CMAKE_CURRENT_SOURCE_DIR}/../<a href="http://lit.site.cfg.in" target="_blank">lit.site.cfg.in</a><br>
+ ${INPUT_LIT_CFG}<br>
${CMAKE_CURRENT_BINARY_DIR}/generated_tests/lit.site.cfg<br>
)<br>
<br>
<br>
_______________________________________________<br>
cfe-commits mailing list<br>
<a href="mailto:cfe-commits@cs.uiuc.edu">cfe-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits</a><br>
</blockquote></div><br></div></div>