mirror of
https://github.com/wassname/ray.git
synced 2026-08-12 12:20:11 +08:00
improve error message when flex or bison is not installed (#2355)
This commit is contained in:
committed by
Robert Nishihara
parent
23a98a223f
commit
4f1d14e176
Vendored
+10
@@ -56,6 +56,16 @@ if [[ ! -d $TP_DIR/../python/ray/pyarrow_files/pyarrow || \
|
||||
git clone https://github.com/apache/arrow.git "$TP_DIR/build/arrow"
|
||||
fi
|
||||
|
||||
if ! [ -x "$(command -v bison)" ]; then
|
||||
echo 'Error: bison is not installed.' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if ! [ -x "$(command -v flex)" ]; then
|
||||
echo 'Error: flex is not installed.' >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
pushd $TP_DIR/build/arrow
|
||||
git fetch origin master
|
||||
# The PR for this commit is https://github.com/apache/arrow/pull/2065. We
|
||||
|
||||
Reference in New Issue
Block a user