Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vcpkg] Remove unnecessary <Delete> that races <Touch> #20313

Merged
merged 1 commit into from
Sep 24, 2021

Conversation

AndrewDeanMS
Copy link
Contributor

When VcpkgInstallManifestDependencies runs in parallel,
the Delete in one task causes the touch in another to fail.
The Delete isn't actually necessary to accomplish the goal
here, so remove it.

Describe the pull request

N/A

Yes

  • If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?

N/A

If you are still working on the PR, open it as a Draft: https://github.blog/2019-02-14-introducing-draft-pull-requests/

When VcpkgInstallManifestDependencies runs in parallel,
the Delete in one task causes the touch in another to fail.
The Delete isn't actually necessary to accomplish the goal
here, so remove it.
@BillyONeal
Copy link
Member

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@AndrewDeanMS AndrewDeanMS marked this pull request as ready for review September 23, 2021 22:43
@JackBoosY JackBoosY added the category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) label Sep 24, 2021
@BillyONeal BillyONeal merged commit 86d2925 into microsoft:master Sep 24, 2021
@BillyONeal
Copy link
Member

Thanks for the racy fix!

@PhoebeHui PhoebeHui changed the title Remove unnecessary <Delete> that races <Touch> [vcpkg] Remove unnecessary <Delete> that races <Touch> Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

VcpkgInstallManifestDependencies task does not work well for projects building in parallel
3 participants