Skip to content

Commit

Permalink
ARROW-1620: Python: Download Boost in manylinux1 build from bintray
Browse files Browse the repository at this point in the history
Change-Id: Ib82766aa7980ffed73c025a4277d37cb559db036
  • Loading branch information
xhochy committed Sep 27, 2017
1 parent 808a143 commit 30da182
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions python/manylinux1/scripts/build_boost.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}

0 comments on commit 30da182

Please sign in to comment.