I am building with MinGW and my experience is that "make -jN" either doesn't work (because of problems with different processes updating the same library using ranlib or something like that).  And then there's the issue I mentioned in the previous doc.<div>
<br></div><div>I think Ninja is a gift from some heavenly dimension.  Others may disagree.  But I think any Windows developer should take a look at it, no matter if they are using GNU Make or Visual Studio.  </div><div><br>
</div><div>By the way, I forgot to use my brain when I sent the first link: It is a Windows-only link.  For non-Windows users and people who want to see the source before they use it, use this link: <a href="http://martine.github.com/ninja/">http://martine.github.com/ninja/</a> <br>
<div><br></div><div>Yes, I am quite familiar with the CMake documentation, but why are you asking?  I use CMake all the time for my MinGW32 and MinGW64 builds.  Now I use "CMake -G Ninja" :-)<br><br><div class="gmail_quote">
2012/6/18 Óscar Fuentes <span dir="ltr"><<a href="mailto:ofv@wanadoo.es" target="_blank">ofv@wanadoo.es</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Christoph Erhardt <<a href="mailto:christoph@sicherha.de">christoph@sicherha.de</a>> writes:<br>
<br>
> Hi Mikael,<br>
><br>
>> My Clang build used to take 59:29 minutes using MinGW Makefiles.  With<br>
>> Ninja, it takes 18:43 minutes!  That's a speed up of factor three.<br>
> sorry for asking the obvious question: Are you comparing against a<br>
> parallel "make -j<n>"? :-)<br>
<br>
</div>I'm pretty sure he isn't. Building Clang+LLVM with MinGW, maybe ninja is<br>
faster than gmake by a few dozen seconds on Windows. The real advantage<br>
is over the build tools traditionally used with the Visual Studio<br>
toolchain, because all of have limited support for parallelization.<br>
<br>
The other aspect where ninja shines over all other build tools is at<br>
being fast parsing the makefiles and determining what needs to be<br>
rebuilt. This is something people appreciate while rebuilding big<br>
projects after small changes.<br>
<br>
BTW Mikael, have you checked <a href="http://llvm.org/docs/CMake.html" target="_blank">http://llvm.org/docs/CMake.html</a> ?<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</div></div></blockquote></div><br></div></div>