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] Teach vcpkg install --no-build-missing #15139

Merged

Conversation

ras0219-msft
Copy link
Contributor

This switch causes failure to restore from cache to abort the build instead of performing a just-in-time build.

This is useful in complex CI systems where the build was expected to have been performed previously, such as via another pipeline.

This switch causes failure to restore from cache to abort the build instead of performing a just-in-time build.

This is useful in complex CI systems where the build was expected to have been performed previously, such as via another pipeline.
@PhoebeHui PhoebeHui added the category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) label Dec 16, 2020
@BillyONeal
Copy link
Member

Not to bikeshed too much but should this be something like --binarycaching-only for consistency with --download-only?

@BillyONeal
Copy link
Member

What is the probability of an almost identical block of code that also needs to be edited that isn't included in the PR? :)

@ras0219-msft ras0219-msft force-pushed the dev/roschuma/no-build-missing branch from 75824ac to 7af5d1f Compare December 22, 2020 23:43
@ras0219-msft ras0219-msft merged commit 6772fdd into microsoft:master Dec 30, 2020
@ras0219-msft ras0219-msft deleted the dev/roschuma/no-build-missing branch December 30, 2020 20:12
strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* [vcpkg] Teach `vcpkg install` `--no-build-missing`

This switch causes failure to restore from cache to abort the build instead of performing a just-in-time build.

This is useful in complex CI systems where the build was expected to have been performed previously, such as via another pipeline.

* [vcpkg] Rename flag to require binary caching
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.

3 participants