[vcpkg-acquire-msys] Allow TOOLPATH to be detected/configured if MSYS2 installation is already present in the environment #11837
Labels
category:tool-update
The issue is with build tool or build script, which requires update or should be executed correctly
Is your feature request related to a problem? Please describe.
At the current status, using
vcpkg
in CI environments is an issue as vcpkg expects to download an entire MSYS2 installation and configure it on each run. Not only this is a waste of resources ( CPU, Disk, Bandwidth ) but it wastes time as well as jobs will take longer to be completed.AppVeyor, as CI provider, solved this by providing an already pre-configured MSYS2 environment in their agents, although it is currently not detected by
vcpkg
.Proposed solution
The overall idea is allow vcpkg to configure the
TOOLPATH
externally, or ideally autodetect existing installations.Describe alternatives you've considered
At the current state I'm simply overriding the
vcpkg_acquire_msys.cmake
file with a custom patched one which changes only this line: https://github.com/julianxhokaxhiu/ffmpegCI/blob/master/patch/scripts/cmake/vcpkg_acquire_msys.cmake#L39Additional context
The text was updated successfully, but these errors were encountered: