mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
Fix build failure of Arrow and Parquet when the folder is empty. (#2720)
This commit is contained in:
committed by
Philipp Moritz
parent
eec1a3eb89
commit
344a83f327
Vendored
+4
-1
@@ -45,7 +45,10 @@ build_arrow() {
|
||||
rm -rf $TP_DIR/build/arrow/cpp/build/CMakeCache.txt
|
||||
fi
|
||||
|
||||
if [[ ! -d $TP_DIR/build/arrow ]]; then
|
||||
if [[ ! -d $TP_DIR/build/arrow/.git ]]; then
|
||||
if [[ -d $TP_DIR/build/arrow ]]; then
|
||||
rm -rf $TP_DIR/build/arrow
|
||||
fi
|
||||
git clone -q https://github.com/apache/arrow.git "$TP_DIR/build/arrow"
|
||||
fi
|
||||
|
||||
|
||||
Vendored
+4
-1
@@ -50,7 +50,10 @@ build_parquet() {
|
||||
fi
|
||||
}
|
||||
|
||||
if [ ! -d $TP_DIR/build/parquet-cpp ]; then
|
||||
if [ ! -d $TP_DIR/build/parquet-cpp/.git ]; then
|
||||
if [[ -d $TP_DIR/build/parquet-cpp ]]; then
|
||||
rm -rf $TP_DIR/build/parquet-cpp
|
||||
fi
|
||||
git clone -q https://github.com/apache/parquet-cpp.git "$TP_DIR/build/parquet-cpp"
|
||||
pushd $TP_DIR/build/parquet-cpp
|
||||
git fetch origin master
|
||||
|
||||
Reference in New Issue
Block a user