Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev/tasks/python-wheels/win-build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ set ARROW_HOME=%CONDA_PREFIX%\Library
set PARQUET_HOME=%CONDA_PREFIX%\Library
echo %ARROW_HOME%

@rem Build and test Arrow C++ libraries
@rem Build Arrow C++ libraries
mkdir %ARROW_SRC%\cpp\build
pushd %ARROW_SRC%\cpp\build

Expand Down
3 changes: 3 additions & 0 deletions python/manylinux1/Dockerfile-x86_64_base
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,6 @@ RUN /build_re2.sh

ADD scripts/build_uriparser.sh /
RUN /build_uriparser.sh

ADD scripts/build_bz2.sh /
RUN /build_bz2.sh
1 change: 1 addition & 0 deletions python/manylinux1/build_arrow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ PATH="${CPYTHON_PATH}/bin:${PATH}" cmake -DCMAKE_BUILD_TYPE=Release \
-DARROW_PLASMA=ON \
-DARROW_TENSORFLOW=ON \
-DARROW_ORC=ON \
-DARROW_WITH_BZ2=ON \
-DARROW_FLIGHT=${BUILD_ARROW_FLIGHT} \
-DARROW_GANDIVA=${BUILD_ARROW_GANDIVA} \
-DARROW_GANDIVA_JAVA=OFF \
Expand Down
29 changes: 29 additions & 0 deletions python/manylinux1/scripts/build_bz2.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/bash -ex
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

export BZ2_VERSION="1.0.6"
export CFLAGS="-Wall -Winline -O2 -fPIC -D_FILE_OFFSET_BITS=64"

curl -sL "https://www.sourceware.org/pub/bzip2/bzip2-${BZ2_VERSION}.tar.gz" -o bzip2-${BZ2_VERSION}.tar.gz
tar xf bzip2-${BZ2_VERSION}.tar.gz

pushd bzip2-${BZ2_VERSION}
make PREFIX=/usr CFLAGS="$CFLAGS" install -j8
popd

rm -rf bzip2-${BZ2_VERSION}.tar.gz bzip2-${BZ2_VERSION}