Revert "[Ubuntu] build vcpkg from specific commit (#4386)" (#4438)

This reverts commit 60d2208f88.
This commit is contained in:
Aleksandr Chebotov
2021-11-08 15:54:37 +03:00
committed by GitHub
parent 488fa42385
commit 11464d5288

View File

@@ -5,24 +5,15 @@
################################################################################
# Set env variable for vcpkg
# Checkout the specific commit as master builds are falling.
# Upstream report: https://github.com/microsoft/vcpkg/issues/21107
GIT_COMMIT_HASH=d78a0b47bdd4deb6bc5547e06e289672892ed226
VCPKG_INSTALLATION_ROOT=/usr/local/share/vcpkg
echo "VCPKG_INSTALLATION_ROOT=${VCPKG_INSTALLATION_ROOT}" | tee -a /etc/environment
# Install vcpkg
git clone https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
pushd $VCPKG_INSTALLATION_ROOT
git checkout $GIT_COMMIT_HASH
popd
git clone --depth=1 https://github.com/Microsoft/vcpkg $VCPKG_INSTALLATION_ROOT
$VCPKG_INSTALLATION_ROOT/bootstrap-vcpkg.sh
$VCPKG_INSTALLATION_ROOT/vcpkg integrate install
chmod 0777 -R $VCPKG_INSTALLATION_ROOT
mkdir -p /usr/local/bin
ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin/vcpkg
ln -sf $VCPKG_INSTALLATION_ROOT/vcpkg /usr/local/bin
invoke_tests "Tools" "Vcpkg"
invoke_tests "Tools" "Vcpkg"