<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 24, 2014 at 8:26 PM, Brad King <span dir="ltr"><<a href="mailto:brad.king@kitware.com" target="_blank">brad.king@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="">On 02/24/2014 10:02 AM, Alexey Samsonov wrote:<br>
> Yes, 2.8.10.2 to be exact.<br>
<br>
</div>Well, the upstream change I made to simplify this feature in<br>
the future:<br>
<div class=""><br>
ExternalProject: Add option to always run the build step<br>
<a href="http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=73e5c6ae" target="_blank">http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=73e5c6ae</a><br>
<br>
</div>includes a test that touches a file in the external project<br>
source. It passes our test suite with the Ninja generator.<br>
<br>
Please see if you can reproduce this with CMake 'master' from<br>
Git:<br></blockquote><div><br></div><div>Yep, I can reproduce it with latest CMake and ninja:</div><div><br></div><div>$ cmake --version</div><div>cmake version 3.0.20140225-gcd8c</div><div><div>$ ninja --version</div><div>
1.4.0.git</div></div><div>I configure LLVM with -DLLVM_BUILD_EXTERNAL_COMPILER_RT=ON</div><div>(with applied patches <a href="http://llvm-reviews.chandlerc.com/D2868">http://llvm-reviews.chandlerc.com/D2868</a> and <a href="http://llvm-reviews.chandlerc.com/D2874">http://llvm-reviews.chandlerc.com/D2874</a>)</div>
<div>Then I run</div><div>$ ninja compiler-rt</div><div>twice. The first run builds the libraries, the second shows only: "ninja: no work to do." message.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
git clone git://<a href="http://cmake.org/cmake.git" target="_blank">cmake.org/cmake.git</a> CMake &&<br>
mkdir CMake-build &&<br>
cd CMake-build &&<br>
../CMake/bootstrap --parallel=8 &&<br>
make -j 8 &&<br>
bin/cmake --version<br>
<br>
Thanks,<br>
-Brad<br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div>Alexey Samsonov, MSK</div>
</div></div>