@@ -16,8 +16,8 @@ sslDir="${depsToolsetDir}/openssl"
1616sslSrcDir=" ${depsSrcDir} /openssl"
1717
1818# For now, we'll keep the version number within the file path when not using git.
19- boostUrl=" https://archives.boost.io/release/1.82.0/source/ boost_1_82_0.tar.gz "
20- boostSha256Sum=" 66a469b6e608a51f8347236f4912e27dc5c60c60d7d53ae9bfe4683316c6f04c "
19+ boostUrl=" https://download.ceph.com/qa/ boost_1_82_0.tar.bz2 "
20+ boostSha256Sum=" a6e1ab9b0860e6a2881dd7b21fe9f737a095e5f33a3a874afc6a345228597ee6 "
2121boostSrcDir=" ${depsSrcDir} /boost_1_82_0"
2222boostDir=" ${depsToolsetDir} /boost"
2323zlibDir=" ${depsToolsetDir} /zlib"
@@ -70,6 +70,8 @@ case "$OS" in
7070 libtool \
7171 ninja-build \
7272 zip \
73+ bzip2 \
74+ xz \
7375 python3-PyYAML \
7476 gcc \
7577 diffutils \
@@ -83,12 +85,12 @@ case "$OS" in
8385 sudo env DEBIAN_FRONTEND=noninteractive apt-get -y install \
8486 mingw-w64 g++ cmake pkg-config \
8587 python3-dev python3-yaml \
86- autoconf libtool ninja-build wget zip \
88+ autoconf libtool ninja-build wget xz-utils zip bzip2 \
8789 git
8890 ;;
8991 suse)
9092 for PKG in mingw64-cross-gcc-c++ mingw64-libgcc_s_seh1 mingw64-libstdc++6 \
91- cmake pkgconf python3-devel autoconf libtool ninja zip \
93+ cmake pkgconf python3-devel autoconf libtool ninja xz zip bzip2 \
9294 python3-PyYAML \
9395 gcc patch wget git; do
9496 rpm -q $PKG > /dev/null || zypper -n install $PKG
@@ -160,14 +162,14 @@ echo "Building boost."
160162cd $depsSrcDir
161163if [[ ! -d $boostSrcDir ]]; then
162164 echo " Downloading boost."
163- wget -q -O boost.tar.gz $boostUrl
164- checksum=` sha256sum boost.tar.gz | cut -d ' ' -f 1`
165+ wget -q -O boost.tar.bz2 $boostUrl
166+ checksum=` sha256sum boost.tar.bz2 | cut -d ' ' -f 1`
165167 if [[ " $boostSha256Sum " != " $checksum " ]]; then
166168 echo " Invalid boost checksum: $checksum " >&2
167169 exit 1
168170 fi
169- tar xzf boost.tar.gz
170- rm boost.tar.gz
171+ tar -xf boost.tar.bz2
172+ rm boost.tar.bz2
171173fi
172174
173175cd $boostSrcDir
0 commit comments