Skip to content
Closed
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
9 changes: 8 additions & 1 deletion thirdparty/scripts/build_arrow.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,16 @@ else
fi

# Download and compile arrow if it isn't already present.
if [[ ! -d $TP_DIR/../python/ray/pyarrow_files/pyarrow ]]; then
if [[ ! -d $TP_DIR/../python/ray/pyarrow_files/pyarrow || \
"$LANGUAGE" == "java" && ! -f $TP_DIR/build/arrow/cpp/build/release/libplasma_java.* ]]; then
echo "building arrow"

if [[ "$LANGUAGE" == "java" && ! -f $TP_DIR/build/arrow/cpp/build/release/libplasma_java.* ]]; then
rm -rf $TP_DIR/build/arrow
rm -rf $TP_DIR/pkg/arrow
rm -rf $TP_DIR/build/parquet-cpp
fi

if [[ ! -d $TP_DIR/build/arrow ]]; then
git clone https://github.com/apache/arrow.git "$TP_DIR/build/arrow"
fi
Expand Down