If something is non-deterministic then it means there is a missing dependency somewhere...<div><br></div><div>This should work. We have many dashboards that run with parallel Visual Studio builds and work reliably day after day. Whenever I have seen a problem with it, there has always been a missing depedency expression in the CMakeLists.txt files.<br>
<br></div><div>What exactly is it that does not build in the proper order? (Send along some CMakeLists snippets perhaps...)</div><div><br></div><div>When you say "RUNTESTS (I can't remember) enabled" that does not really help us help you. If you could just post the error output, perhaps the group can spot something...</div>
<div><br></div><div><br></div><div>David</div><div><br></div><div><br></div><div><div class="gmail_quote">On Thu, Jul 30, 2009 at 2:16 PM, j s <span dir="ltr"><<a href="mailto:j.s4403@gmail.com">j.s4403@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I guess I won't be using the parallel option in Visual Studio, then. A non-deterministic build order is not worth the risk.<br>
<br>Juan<div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Jul 30, 2009 at 10:53 AM, John Drescher <span dir="ltr"><<a href="mailto:drescherjm@gmail.com" target="_blank">drescherjm@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex"><div><div></div><div>On Thu, Jul 30, 2009 at 11:44 AM, j s<<a href="mailto:j.s4403@gmail.com" target="_blank">j.s4403@gmail.com</a>> wrote:<br>
> By default visual studio uses 2 threads on my machine, a dual core AMD.<br>
><br>
> I notice when I have RUNTESTS (I can't remember) enabled, it may attempt to<br>
> run the tests before my project is even built.<br>
><br>
> If certain sub directories depend on a target in another directory already<br>
> being built, is it safe to use the multi-threaded option in visual studio?<br>
><br>
<br>
</div></div>I have been using parallel builds with visual studio 2005 for over 1<br>
year. It sometimes creates situations like this but since it saves me<br>
10s of minutes per day I deal with the issues. Generally building the<br>
same project a second time fixes any problems and is usually quick<br>
since most stuff builds correctly on the first pas.<br>
<font color="#888888"><br>
John<br>
</font></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br></blockquote></div><br></div>