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

Angus Hewlett via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jul 17 09:23:43 PDT 2019


angushewlett added a comment.

In D52193#1589657 <https://reviews.llvm.org/D52193#1589657>, @aganea wrote:

>




> 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?)

That appears to be the case, yes.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D52193/new/

https://reviews.llvm.org/D52193





More information about the cfe-commits mailing list