From f93e26d6a55fd64c439423a2c5d7c86e73c98b89 Mon Sep 17 00:00:00 2001 From: Mikhail Koliada <88318005+mikhailkoliada@users.noreply.github.com> Date: Mon, 14 Nov 2022 20:59:20 +0100 Subject: [PATCH] [Ubuntu] Workaround vcpkg installation (#6564) --- images/linux/scripts/installers/vcpkg.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/images/linux/scripts/installers/vcpkg.sh b/images/linux/scripts/installers/vcpkg.sh index 731de8b1b..7f65030c7 100644 --- a/images/linux/scripts/installers/vcpkg.sh +++ b/images/linux/scripts/installers/vcpkg.sh @@ -12,8 +12,16 @@ echo "VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a /etc/environm git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT $VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh + +# workaround https://github.com/microsoft/vcpkg/issues/27786 + +mkdir -p /root/.vcpkg/ +touch /root/.vcpkg/vcpkg.path.txt + $VCPKG_INSTALLATION_ROOT/vcpkg integrate install chmod 0777 -R $VCPKG_INSTALLATION_ROOT ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin +rm -rf /root/.vcpkg + invoke_tests "Tools" "Vcpkg" \ No newline at end of file