summaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorzeshuai007 <51382517@qq.com>2020-10-24 10:01:35 +0800
committerZezeng Wang <51382517@qq.com>2020-11-20 09:19:45 +0800
commitb6c886c940ff307a824b876c995676a894edb032 (patch)
tree04e2fe46ddd366a17770407f2739d17599e38ab5 /build
parenta8770a9dd2f8d50cd0e67e18d7da69c45e5bd606 (diff)
downloadthrift-b6c886c940ff307a824b876c995676a894edb032.tar.gz
FixDownLoadErrorInAppveyorCi
Diffstat (limited to 'build')
-rw-r--r--build/appveyor/MING-appveyor-install.bat4
-rw-r--r--build/appveyor/MSYS-appveyor-install.bat2
2 files changed, 5 insertions, 1 deletions
diff --git a/build/appveyor/MING-appveyor-install.bat b/build/appveyor/MING-appveyor-install.bat
index 4b5d730fb..31b9bd763 100644
--- a/build/appveyor/MING-appveyor-install.bat
+++ b/build/appveyor/MING-appveyor-install.bat
@@ -25,6 +25,9 @@ CALL cl_banner_install.bat || EXIT /B
CALL cl_setenv.bat || EXIT /B
CALL cl_showenv.bat || EXIT /B
+SET BOOSTPKG=mingw-w64-x86_64-boost-1.71.0-1-any.pkg.tar.xz
+SET IGNORE=--ignore mingw-w64-x86_64-boost
+
SET PACKAGES=^
--needed -S bison flex make ^
mingw-w64-%MINGWPLAT%-boost ^
@@ -49,3 +52,4 @@ SET PACKAGES=^
:: %BASH% -lc "pacman --noconfirm -Su %IGNORE%" || EXIT /B
::
%BASH% -lc "pacman --noconfirm %PACKAGES%" || EXIT /B
+%BASH% -lc "wget http://repo.msys2.org/mingw/x86_64/%BOOSTPKG% && pacman -- noconfirm --needed -U %BOOSTPKG% && rm %BOOKSTPKG%" || EXIT /B
diff --git a/build/appveyor/MSYS-appveyor-install.bat b/build/appveyor/MSYS-appveyor-install.bat
index a818df305..6357f2368 100644
--- a/build/appveyor/MSYS-appveyor-install.bat
+++ b/build/appveyor/MSYS-appveyor-install.bat
@@ -26,7 +26,7 @@ CALL cl_setenv.bat || EXIT /B
CALL cl_showenv.bat || EXIT /B
:: We're going to keep boost at a version cmake understands
-SET BOOSTPKG=mingw-w64-x86_64-boost-1.64.0-3-any.pkg.tar.xz
+SET BOOSTPKG=mingw-w64-x86_64-boost-1.71.0-1-any.pkg.tar.xz
SET IGNORE=--ignore mingw-w64-x86_64-boost
SET PACKAGES=^