[cfe-dev] clang windows: clang-cl support for /MP

Nikola Smiljanic popizdeh at gmail.com
Wed May 20 06:11:55 PDT 2015


On Wed, May 20, 2015 at 10:47 PM, Domagoj Saric <
domagoj.saric at littleendian.com> wrote:
>
>
> But from a 'practical standpoint', wouldn't a multithreaded compiler be
> the faster solution? e.g.:
>  - you'd parse precompiled and/or shared headers only once for all the
> sources being compiled simultaneously/in-parallel
>

If all your files have same compiler flags, macros, etc. I just read the
linked blog post and that's essentially what cl.exe does, splits files into
batches. Ninja still beats it.


>  - threads are cheaper than processes


Not on linux :P
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150520/c651e3bf/attachment.html>


More information about the cfe-dev mailing list