[vcpkg/msbuild] parellel build#19718
[vcpkg/msbuild] parellel build#19718BillyONeal merged 9 commits intomicrosoft:masterfrom mheyman:msbuild_parallel
Conversation
|
It is maybe possible to respect VCPKG_MAX_CONCURRENCY? |
I think that's the correct way instead of this changes. |
|
A few lines below the change the |
|
The latest change assumes VCPKG_MAX_CONCURRENCY turns into a CMake variable somehow - I don't know how to use VCPKG_MAX_CONCURRENCY and I know that, in general, passing environment variables though vcpkg requires a bit of complication |
|
So, it looks like the I think these changes fully respect VCPKG_MAX_CONCURRENCY. |
EnforceProcessCountAcrossBuilds=true (must have value)
|
Just verified it respects VCPKG_MAX_CONCURRENCY using Process Explorer! |
|
I hope my colleague will review this modification further because I don't have enough knowledge about msbuild. |
| "/p:VcpkgInstalledDir=${_VCPKG_INSTALLED_DIR}" | ||
| "/p:VcpkgManifestInstall=false" | ||
| "/m" | ||
| "/p:UseMultiToolTask=true" |
There was a problem hiding this comment.
What effect does this have, if any, for older Visual Studios without MultiToolTask?
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
Thanks :) |
Describe the pull request
Defaults to parallel build for msbuild projects. Prior, only projects built in parallel. With this change, source files within the projects can build in parallel. Ports like activemq-cpp use one vcxproj file for the entire port so without this change, it will build single threaded.
Which triplets are supported/not supported?
N/A
Does your PR follow the maintainer guide
If you have added/updated a port: Have you run
./vcpkg x-add-version --alland committed the result?N/A