Fail build if pyarrow hasn't successfully been built. (#1721)

This commit is contained in:
Robert Nishihara
2018-03-16 12:02:36 -07:00
committed by Philipp Moritz
parent 75dc106303
commit d8adfbd440
+5 -2
View File
@@ -35,9 +35,12 @@ else
fi
# Download and compile arrow if it isn't already present.
if [[ ! -d $TP_DIR/pkg/arrow ]]; then
if [[ ! -d $TP_DIR/../python/ray/pyarrow_files/pyarrow ]]; then
echo "building arrow"
git clone https://github.com/apache/arrow.git "$TP_DIR/build/arrow"
if [[ ! -d $TP_DIR/build/arrow ]]; then
git clone https://github.com/apache/arrow.git "$TP_DIR/build/arrow"
fi
pushd $TP_DIR/build/arrow
git fetch origin master