[go: nahoru, domu]

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_DEFAULT_BINARY_CACHE looks to be ignored #14922

Closed
Ceylo opened this issue Dec 3, 2020 · 3 comments · Fixed by #14945
Closed

VCPKG_DEFAULT_BINARY_CACHE looks to be ignored #14922

Ceylo opened this issue Dec 3, 2020 · 3 comments · Fixed by #14945
Assignees
Labels
category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Comments

@Ceylo
Copy link
Ceylo commented Dec 3, 2020

I'm using macOS 10.15.7 along with Xcode 12.2. I'm trying to use a custom binary cache directory by following https://github.com/microsoft/vcpkg/blob/master/docs/users/binarycaching.md#configuration

I cloned vcpkg at tag 2020.11, then:

$ ./bootstrap-vcpkg.sh
$ VCPKG_DEFAULT_BINARY_CACHE=/tmp/vcpkgcache ./vcpkg install gtest

And nothing gets populated in /tmp/vcpkgcache. Obviously, deleting "installed" and "buildtrees" directories then re-running the above vcpkg install reconfigures and recompiles everything.

I didn't try in other platforms, so at best support for VCPKG_DEFAULT_BINARY_CACHE looks incomplete or I missed some (undocumented?) step.

@JackBoosY
Copy link
Contributor

@BillyONeal Can you please take a look?

Thanks.

@Neumann-A
Copy link
Contributor

maybe the directory does not exists.
Make sure the directory exists and run the install command with --debug

@BillyONeal
Copy link
Member

I have repro'd the problem and am investigating.

BillyONeal added a commit to BillyONeal/vcpkg that referenced this issue Dec 4, 2020
BillyONeal added a commit that referenced this issue Dec 4, 2020
…being emitted. (#14945)

* Fix failures when parsing the default options for binary caching not beging emitted.

Resolves #14922.
@JackBoosY JackBoosY added the category:vcpkg-bug The issue is with the vcpkg system (including helper scripts in `scripts/cmake/`) label Dec 7, 2020
strega-nil pushed a commit to strega-nil/vcpkg that referenced this issue May 5, 2021
…being emitted. (microsoft#14945)

* Fix failures when parsing the default options for binary caching not beging emitted.

Resolves microsoft#14922.
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 a pull request may close this issue.

4 participants