Skip to content

VCPKG_DEFAULT_BINARY_CACHE looks to be ignored #14922

@Ceylo

Description

@Ceylo

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.

Metadata

Metadata

Assignees

Labels

category:vcpkg-bugThe issue is with the vcpkg system (including helper scripts in `scripts/cmake/`)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions