diff options
Diffstat (limited to 'win32_deps_build.sh')
-rwxr-xr-x | win32_deps_build.sh | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/win32_deps_build.sh b/win32_deps_build.sh index 1434d8b7ca6..491eb28093f 100755 --- a/win32_deps_build.sh +++ b/win32_deps_build.sh @@ -16,8 +16,8 @@ sslDir="${depsToolsetDir}/openssl" sslSrcDir="${depsSrcDir}/openssl" # For now, we'll keep the version number within the file path when not using git. -boostUrl="https://archives.boost.io/release/1.82.0/source/boost_1_82_0.tar.gz" -boostSha256Sum="66a469b6e608a51f8347236f4912e27dc5c60c60d7d53ae9bfe4683316c6f04c" +boostUrl="https://download.ceph.com/qa/boost_1_82_0.tar.bz2" +boostSha256Sum="a6e1ab9b0860e6a2881dd7b21fe9f737a095e5f33a3a874afc6a345228597ee6" boostSrcDir="${depsSrcDir}/boost_1_82_0" boostDir="${depsToolsetDir}/boost" zlibDir="${depsToolsetDir}/zlib" @@ -70,6 +70,8 @@ case "$OS" in libtool \ ninja-build \ zip \ + bzip2 \ + xz \ python3-PyYAML \ gcc \ diffutils \ @@ -83,12 +85,12 @@ case "$OS" in sudo env DEBIAN_FRONTEND=noninteractive apt-get -y install \ mingw-w64 g++ cmake pkg-config \ python3-dev python3-yaml \ - autoconf libtool ninja-build wget zip \ + autoconf libtool ninja-build wget xz-utils zip bzip2 \ git ;; suse) for PKG in mingw64-cross-gcc-c++ mingw64-libgcc_s_seh1 mingw64-libstdc++6 \ - cmake pkgconf python3-devel autoconf libtool ninja zip \ + cmake pkgconf python3-devel autoconf libtool ninja xz zip bzip2 \ python3-PyYAML \ gcc patch wget git; do rpm -q $PKG >/dev/null || zypper -n install $PKG @@ -160,14 +162,14 @@ echo "Building boost." cd $depsSrcDir if [[ ! -d $boostSrcDir ]]; then echo "Downloading boost." - wget -q -O boost.tar.gz $boostUrl - checksum=`sha256sum boost.tar.gz | cut -d ' ' -f 1` + wget -q -O boost.tar.bz2 $boostUrl + checksum=`sha256sum boost.tar.bz2 | cut -d ' ' -f 1` if [[ "$boostSha256Sum" != "$checksum" ]]; then echo "Invalid boost checksum: $checksum" >&2 exit 1 fi - tar xzf boost.tar.gz - rm boost.tar.gz + tar -xf boost.tar.bz2 + rm boost.tar.bz2 fi cd $boostSrcDir |