Skip to content

Commit

Permalink
change default binary cache path to vcpkg default
Browse files Browse the repository at this point in the history
  • Loading branch information
claraberendsen committed Aug 23, 2023
1 parent 395803a commit 9013975
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions jenkins-scripts/lib/windows_library.bat
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,9 @@ if [%1] == [] (
echo "_install_and_upgrade_vcpkg_package called with no argument"
goto :error
)
:: workaround on permissions problems for default VCPKG_DEFAULT_BINARY_CACHE
set VCPKG_DEFAULT_BINARY_CACHE=C:\Users\Administrator\AppData\Local\vcpkg\archives
if not exist %VCPKG_DEFAULT_BINARY_CACHE% mkdir %VCPKG_DEFAULT_BINARY_CACHE%
%VCPKG_CMD% install --recurse "%1" --overlay-ports="%VCPKG_OSRF_DIR%"
:: vcpkg does not upgrade installed packages using the install command
:: since most of the packages are coming from a frozen snapshot, it is
Expand Down

0 comments on commit 9013975

Please sign in to comment.