Use download cache also for tools #19092
autoantwort
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
There is the option
--only-downloads
to download all files necessary to build the package. You can copy the complete dir to another machine that don't has internet as proposed in #16391. But if you only copy the compressed archives and not the files intools/*
, vcpkg tries to download these files again even though they are already there.I propose that vcpkg should not download the archives for the tools again when the archives are already there.
Is your feature request related to a problem? Please describe.
You have to copy a lot more files if you also have to copy the
tools
folder.Proposed solution
vcpkg should not download the archives for the tools again when the archives are already there.
Describe alternatives you've considered
I have no alternative in mind
Additional context
We want to put the downloads folder also in our own copy of vcpkg (in git) so that we can compile even if we have no internet or when some downloads mirror is offline. Its would be much nicer if we can check in 6 archives instead of over 19'000 files.
Beta Was this translation helpful? Give feedback.
All reactions