Skip to content

Improve vcpkg caching in CI#213

Closed
google-labs-jules[bot] wants to merge 2 commits intomainfrom
feature/vcpkg-cache-improvements-8900845552714108208
Closed

Improve vcpkg caching in CI#213
google-labs-jules[bot] wants to merge 2 commits intomainfrom
feature/vcpkg-cache-improvements-8900845552714108208

Conversation

@google-labs-jules
Copy link
Copy Markdown
Contributor

Moves vcpkg downloads and registry cache to .vcpkg_cache and adds it to CI cache paths.


PR created automatically by Jules for task 8900845552714108208 started by @gameknife

Redirects vcpkg downloads and registry caches to a project-local directory
(`.vcpkg_cache`) by setting `VCPKG_DOWNLOADS` and `X_VCPKG_REGISTRIES_CACHE`
environment variables in setup scripts.

Updates CI workflows to cache `.vcpkg_cache`, ensuring that dependency sources
and registry metadata are preserved between runs, preventing unnecessary rebuilds
and re-downloads.

Resolves #212.
@google-labs-jules
Copy link
Copy Markdown
Contributor Author

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@gameknife
Copy link
Copy Markdown
Owner

我查阅了vcpkg的文档,发现应该只设置VCPKG_BINARY_SOURCES
例如"clear;files,D:\vcpkg\binary-cache,readwrite"

恢复前面的修改,不要设置VCPKG_DEFAULT_BINARY_CACHE,换为VCPKG_BINARY_SOURCES

@google-labs-jules
Copy link
Copy Markdown
Contributor Author

我查阅了vcpkg的文档,发现应该只设置VCPKG_BINARY_SOURCES
例如"clear;files,D:\vcpkg\binary-cache,readwrite"

恢复前面的修改,不要设置VCPKG_DEFAULT_BINARY_CACHE,换为VCPKG_BINARY_SOURCES

Acknowledged. I have updated the configuration to use VCPKG_BINARY_SOURCES="clear;files,..." and removed VCPKG_DEFAULT_BINARY_CACHE as requested.

Switches from using `VCPKG_DEFAULT_BINARY_CACHE` to the more explicit
`VCPKG_BINARY_SOURCES` variable for configuring the local binary cache,
as requested during review.

The downloads and registries cache configurations remain in place to
ensure CI caching works as intended.
@gameknife gameknife closed this Jan 13, 2026
@gameknife gameknife deleted the feature/vcpkg-cache-improvements-8900845552714108208 branch January 14, 2026 10:14
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.

1 participant