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] Enable binary caching by default #12370

Merged

Conversation

ras0219
Copy link
Contributor

@ras0219 ras0219 commented Jul 10, 2020

Vcpkg will now accept an x- in front of any global (i.e. non-command-specific) command line parameters which are not already prefixed with x-. This has the effect that moving options from experimental to stabilized will not break existing users.

This additionally fixes #12285 by using %APPDATA%/../Local as a fallback for %LOCALAPPDATA%.

Drive by fix: error when passing multiple copies of single parameter arguments.

+@alexkaratarakis /* It's happening! */

@strega-nil strega-nil added the depends:different-pr This PR or Issue depends on a PR which has been filed label Jul 10, 2020
@strega-nil
Copy link
Contributor

Depends on #12351, afaict (or at least, that would make this PR much easier)

@ras0219-msft
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@ras0219-msft ras0219-msft removed the depends:different-pr This PR or Issue depends on a PR which has been filed label Jul 13, 2020
@ras0219-msft ras0219-msft merged commit 52a9d9a into microsoft:master Jul 13, 2020
@alexkaratarakis
Copy link
Contributor

alexkaratarakis commented Jul 20, 2020

🎉
Awesome! This will save a ridiculous amount of time (defaults are very important). :)

strega-nil pushed a commit to strega-nil/vcpkg that referenced this pull request May 5, 2021
* [vcpkg] Enable binary caching by default. Support `x-` migration.

Fix passing multiple copies of single parameter arguments.

* [vcpkg] Handle x- prefixes for general arguments

* [vcpkg] Fix microsoft#12285 and improve documentation of default binary cache path

* [vcpkg] Revert x- prefix homogenization for per-command arguments

* [vcpkg] Only use accelerated compiler detection for Windows Desktop + Ninja. Improve breadcrumbs for users encountering issues.

* [vcpkg] Fix compiler tracking not pre-downloading Ninja. Fix compiler tracking not looking in -err.log.

* [vcpkg] Update toolsrc/src/vcpkg/binarycaching.cpp

Co-authored-by: Billy O'Neal <[email protected]>

* [vcpkg] Format

Co-authored-by: Robert Schumacher <[email protected]>
Co-authored-by: Billy O'Neal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to read %LOCALAPPDATA% on Windows service accounts
6 participants