diff --git a/python/manylinux1/scripts/build_boost.sh b/python/manylinux1/scripts/build_boost.sh index 3c11f3aeb6f..4650cde9532 100755 --- a/python/manylinux1/scripts/build_boost.sh +++ b/python/manylinux1/scripts/build_boost.sh @@ -16,10 +16,13 @@ # specific language governing permissions and limitations # under the License. -wget --no-check-certificate http://downloads.sourceforge.net/project/boost/boost/1.60.0/boost_1_60_0.tar.gz -O /boost_1_60_0.tar.gz -tar xf boost_1_60_0.tar.gz -pushd /boost_1_60_0 +BOOST_VERSION=1.65.1 +BOOST_VERSION_UNDERSCORE=${BOOST_VERSION//\./_} + +wget --no-check-certificate https://dl.bintray.com/boostorg/release/${BOOST_VERSION}/source/boost_${BOOST_VERSION_UNDERSCORE}.tar.gz -O /boost_${BOOST_VERSION_UNDERSCORE}.tar.gz +tar xf boost_${BOOST_VERSION_UNDERSCORE}.tar.gz +pushd /boost_${BOOST_VERSION_UNDERSCORE} ./bootstrap.sh ./bjam cxxflags=-fPIC cflags=-fPIC --prefix=/usr --with-filesystem --with-date_time --with-system --with-regex install popd -rm -rf boost_1_60_0.tar.gz boost_1_60_0 +rm -rf boost_${BOOST_VERSION_UNDERSCORE}.tar.gz boost_${BOOST_VERSION_UNDERSCORE}