aboutsummaryrefslogtreecommitdiff
path: root/docs/users/binarycaching.md
diff options
context:
space:
mode:
authorKevin Lalumiere <klalumiere@coveo.com>2021-01-25 02:11:02 -0500
committerGitHub <noreply@github.com>2021-01-24 23:11:02 -0800
commitf60b947e1311f72c4dae984a1da0ae7eda4e4048 (patch)
tree847c6adae437a57636bf8d8832682718821f7f86 /docs/users/binarycaching.md
parentb5e8e48b49d02374de8bf07a16546d3a116fabc7 (diff)
downloadvcpkg-f60b947e1311f72c4dae984a1da0ae7eda4e4048.tar.gz
vcpkg-f60b947e1311f72c4dae984a1da0ae7eda4e4048.zip
[vcpkg] Allow to use Nuget's cache for Nuget binary caching sources (fix #15169) (#15512)
* Fix warning on clang version 10.0.0-4ubuntu1 The warning was ```shell ../src/vcpkg/commands.porthistory.cpp:55:14: error: unused function 'is_date' [-Werror,-Wunused-function] ``` * Add environment variable VCPKG_USE_NUGET_CACHE As the name suggests, this environment variable allow tu use Nuget cache for Nuget binary caching sources. * Document NuGet's Cache environment variable
Diffstat (limited to 'docs/users/binarycaching.md')
-rw-r--r--docs/users/binarycaching.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/users/binarycaching.md b/docs/users/binarycaching.md
index ed051b716..07e238f92 100644
--- a/docs/users/binarycaching.md
+++ b/docs/users/binarycaching.md
@@ -197,6 +197,10 @@ or
```
if the appropriate environment variables are defined and non-empty. This is specifically used to associate packages in GitHub Packages with the _building_ project and not intended to associate with the original package sources.
+#### NuGet's cache
+
+NuGet's cache is not used by default. To use it for every nuget-based source, set the [environment variable](config-environment.md) `VCPKG_USE_NUGET_CACHE` to `true` (case-insensitive) or `1`.
+
## Implementation Notes (internal details subject to change without notice)
Binary caching relies on hashing everything that contributes to a particular package build. This includes: