From 3c875119a0e750215bd4e40f8171b2655838e900 Mon Sep 17 00:00:00 2001 From: Pro Date: Sun, 21 Apr 2024 16:38:42 +0200 Subject: [PATCH] Cleanup --- ci/install-macos-vcpkg.sh | 7 ------- ci/install-ubuntu-vcpkg.sh | 4 ---- ci/install-windows-vcpkg.sh | 4 ---- 3 files changed, 15 deletions(-) diff --git a/ci/install-macos-vcpkg.sh b/ci/install-macos-vcpkg.sh index 107a25ca..95949616 100755 --- a/ci/install-macos-vcpkg.sh +++ b/ci/install-macos-vcpkg.sh @@ -7,13 +7,6 @@ if [[ "${VCPKG_VERSION:-}" == "" ]]; then exit 1 fi -# 2024-04-15, cmake 3.29.1 doesn't work so well with vcpkg, remove this line when cmake is 3.29.2+ -# https://github.com/microsoft/vcpkg/issues/37968 -brew list --versions -brew -v update -brew upgrade --force --display-times cmake -brew list --versions - export VCPKG_ROOT="$HOME/build/vcpkg" if [[ -e "$VCPKG_ROOT" && ! -e "$VCPKG_ROOT/.git" ]]; then rm -rf "$VCPKG_ROOT" diff --git a/ci/install-ubuntu-vcpkg.sh b/ci/install-ubuntu-vcpkg.sh index 3886fa72..68b36d77 100755 --- a/ci/install-ubuntu-vcpkg.sh +++ b/ci/install-ubuntu-vcpkg.sh @@ -36,9 +36,6 @@ export VCPKG_DEFAULT_TRIPLET=x64-linux set +e which cmake cmake --version - # 2024-04-15, cmake 3.29.1 doesn't work so well with vcpkg, remove this hack when cmake is 3.29.2+ - # https://github.com/microsoft/vcpkg/issues/37968 - mv -vf /usr/local/bin/cmake /usr/local/bin/cmake.bad if ! ./vcpkg install --clean-after-build --recurse "opencv[contrib,nonfree,ade]"; then for log in "$VCPKG_ROOT/buildtrees"/**/*out.log; do echo "=== $log" @@ -46,7 +43,6 @@ export VCPKG_DEFAULT_TRIPLET=x64-linux done exit 1 fi - mv -vf /usr/local/bin/cmake.bad /usr/local/bin/cmake ) # remove build artifacts to save CI cache space rm -rf "$VCPKG_ROOT/downloads" "$VCPKG_ROOT/buildtrees" "$VCPKG_ROOT/packages" diff --git a/ci/install-windows-vcpkg.sh b/ci/install-windows-vcpkg.sh index 5b8ef440..82ec7cd0 100755 --- a/ci/install-windows-vcpkg.sh +++ b/ci/install-windows-vcpkg.sh @@ -8,10 +8,6 @@ rm -rf "$VCPKG_INSTALLATION_ROOT" # install llvm from choco in place of vcpkg to speed things up choco install -y llvm --version "$CHOCO_LLVM_VERSION" -# 2024-04-15, cmake 3.29.1 doesn't work so well with vcpkg, remove this line when cmake is 3.29.2+ -# https://github.com/microsoft/vcpkg/issues/37968 -choco upgrade -y cmake --version 3.29.0 - export VCPKG_ROOT="$HOME/build/vcpkg" if [[ -e "$VCPKG_ROOT" && ! -e "$VCPKG_ROOT/.git" ]]; then rm -rf "$VCPKG_ROOT"