-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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] Add support for VCPKG_BINARY_SOURCES and --x-binarysource=<> #10476
[vcpkg] Add support for VCPKG_BINARY_SOURCES and --x-binarysource=<> #10476
Conversation
@@ -170,6 +185,12 @@ namespace vcpkg | |||
arg.substr(sizeof("--overlay-triplets=") - 1), "--overlay-triplets", args.overlay_triplets); | |||
continue; | |||
} | |||
if (Strings::starts_with(arg, "--x-binarysource=")) | |||
{ | |||
parse_cojoined_multivalue( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
substr in this role fills me with sadness but it's consistent with the rest of the code here so feel free to ignore
{ | ||
if (log_file.path().extension() == ".log") | ||
// Build failed, store all failure logs in the tombstone. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Extract "store tombstone" function rather than commenting?
Avoids conditional expresion is constant warnings
/azp run |
Pull request contains merge conflicts. |
So what does this PR do? Is the design goal to let you point to another directory for cached binaries? |
Yeah, it enables some configurability for where to look for binaries as well as multi-source and read-only behavior. |
…icrosoft#10476) * [vcpkg] Add support for VCPKG_BINARY_SOURCES and --binarysource=<> * [vcpkg] Rename --binarysource to --x-binarysource to denote internal/experimental * [vcpkg] Address review comments & add tests for BinaryConfigParser * [vcpkg] Replace do {} while(1); with for(;;) Avoids conditional expresion is constant warnings * [vcpkg] Invert if/else * [vcpkg] Fix warning in export.prefab.cpp * [vcpkg] Resolve merge regressions
No description provided.