[PATCH] D52193: RFC: [clang] Multithreaded compilation support -- NOT FOR SUBMIT

Alexandre Ganea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 17 09:07:06 PDT 2019

aganea added a comment.

In D52193#1589096 <https://reviews.llvm.org/D52193#1589096>, @yurybura wrote:

> Do you have any plans to make this PR compatible with trunk? Now MSVC with /MP builds much faster than clang-cl (at least 2x faster for our project)...

I'll get back to this after the vacation (somewhere in August)

In D52193#1589150 <https://reviews.llvm.org/D52193#1589150>, @angushewlett wrote:

> They're issued in the right order, but the second doesn't wait for the first to complete.

Ok, I thought the wait was handled by MSBuild. If I understand correctly what you're saying, MSBuild issues both commands at the same time, but the second `cl.exe /Yu /MP` somehow waits for the first `cl.exe /Yc` to complete? (maybe by checking if the PCH is still open for write?)

  rC Clang



More information about the cfe-commits mailing list