From f099045269342772a8a8db74698c8bd66242ca72 Mon Sep 17 00:00:00 2001 From: Vitalii Koshura Date: Thu, 7 Apr 2022 10:21:50 +0200 Subject: [PATCH] [CI] Add openssl custom port to fix build issues Signed-off-by: Vitalii Koshura --- 3rdParty/vcpkg_ports/ports/dummy.txt | 0 android/buildAndroidBOINC-CI.sh | 7 +++++-- win_build/vcpkg_3rdparty_dependencies_vs2019.vcxproj | 6 +++--- 3 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 3rdParty/vcpkg_ports/ports/dummy.txt diff --git a/3rdParty/vcpkg_ports/ports/dummy.txt b/3rdParty/vcpkg_ports/ports/dummy.txt new file mode 100644 index 0000000000..e69de29bb2 diff --git a/android/buildAndroidBOINC-CI.sh b/android/buildAndroidBOINC-CI.sh index f0a18fcd4a..bf878df934 100755 --- a/android/buildAndroidBOINC-CI.sh +++ b/android/buildAndroidBOINC-CI.sh @@ -259,7 +259,8 @@ if [ $build_with_vcpkg = "yes" ]; then triplets_setup="default" fi packages="rappture curl[core,openssl]" - vcpkg_flags="--overlay-triplets=$vcpkg_ports_dir/triplets/$triplets_setup --clean-after-build" + vcpkg_overlay="--overlay-ports=$vcpkg_ports_dir/ports --overlay-triplets=$vcpkg_ports_dir/triplets/$triplets_setup" + vcpkg_flags="$vcpkg_overlay --clean-after-build" if [ ! -d "$VCPKG_ROOT" ]; then mkdir -p $BUILD_DIR git -C $BUILD_DIR clone https://github.com/microsoft/vcpkg @@ -267,6 +268,8 @@ if [ $build_with_vcpkg = "yes" ]; then if [ ! -e /tmp/vcpkg_updated ]; then git -C $VCPKG_ROOT reset --hard git -C $VCPKG_ROOT pull + # ToDo: Remove when either https://github.com/openssl/openssl/issues/18059 or https://github.com/openssl/openssl/pull/18056 is fixed + git -C $VCPKG_ROOT checkout 89295c9fe22e97ca9e380a6c771ccf2ff09dca95 $VCPKG_ROOT/bootstrap-vcpkg.sh touch /tmp/vcpkg_updated fi @@ -297,7 +300,7 @@ if [ $build_with_vcpkg = "yes" ]; then $VCPKG_ROOT/vcpkg install $packages $vcpkg_flags --triplet=$(getTripletName $arch) fi - $VCPKG_ROOT/vcpkg upgrade --no-dry-run + $VCPKG_ROOT/vcpkg upgrade $vcpkg_overlay --no-dry-run fi vcpkgDir() diff --git a/win_build/vcpkg_3rdparty_dependencies_vs2019.vcxproj b/win_build/vcpkg_3rdparty_dependencies_vs2019.vcxproj index a60923b3bd..de5fd4b0b1 100644 --- a/win_build/vcpkg_3rdparty_dependencies_vs2019.vcxproj +++ b/win_build/vcpkg_3rdparty_dependencies_vs2019.vcxproj @@ -178,8 +178,8 @@ - - - + + +