mirror of
https://github.com/vale981/ray
synced 2025-03-06 10:31:39 -05:00
silence progress log from 'git clone' and 'pip install' (#2667)
This commit is contained in:
parent
6cb6dd30d1
commit
dd924a388b
5 changed files with 6 additions and 6 deletions
|
@ -12,7 +12,7 @@ cython_examples="$ROOT_DIR/../examples/cython"
|
||||||
if [[ "$PYTHON" == "2.7" ]]; then
|
if [[ "$PYTHON" == "2.7" ]]; then
|
||||||
|
|
||||||
pushd $cython_examples
|
pushd $cython_examples
|
||||||
pip install scipy
|
pip install --progress-bar=off scipy
|
||||||
python setup.py install --user
|
python setup.py install --user
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ elif [[ "$PYTHON" == "3.5" ]]; then
|
||||||
export PATH="$HOME/miniconda/bin:$PATH"
|
export PATH="$HOME/miniconda/bin:$PATH"
|
||||||
|
|
||||||
pushd $cython_examples
|
pushd $cython_examples
|
||||||
pip install scipy
|
pip install --progress-bar=off scipy
|
||||||
python setup.py install --user
|
python setup.py install --user
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
2
thirdparty/scripts/build_arrow.sh
vendored
2
thirdparty/scripts/build_arrow.sh
vendored
|
@ -46,7 +46,7 @@ build_arrow() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -d $TP_DIR/build/arrow ]]; then
|
if [[ ! -d $TP_DIR/build/arrow ]]; then
|
||||||
git clone https://github.com/apache/arrow.git "$TP_DIR/build/arrow"
|
git clone -q https://github.com/apache/arrow.git "$TP_DIR/build/arrow"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! [ -x "$(command -v bison)" ]; then
|
if ! [ -x "$(command -v bison)" ]; then
|
||||||
|
|
2
thirdparty/scripts/build_credis.sh
vendored
2
thirdparty/scripts/build_credis.sh
vendored
|
@ -29,7 +29,7 @@ fi
|
||||||
if [[ "${RAY_USE_NEW_GCS}" = "on" ]]; then
|
if [[ "${RAY_USE_NEW_GCS}" = "on" ]]; then
|
||||||
pushd "$TP_DIR/pkg/"
|
pushd "$TP_DIR/pkg/"
|
||||||
if [[ ! -d "credis" ]]; then
|
if [[ ! -d "credis" ]]; then
|
||||||
git clone --recursive https://github.com/ray-project/credis
|
git clone -q --recursive https://github.com/ray-project/credis
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
|
|
||||||
|
|
2
thirdparty/scripts/build_parquet.sh
vendored
2
thirdparty/scripts/build_parquet.sh
vendored
|
@ -51,7 +51,7 @@ build_parquet() {
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ ! -d $TP_DIR/build/parquet-cpp ]; then
|
if [ ! -d $TP_DIR/build/parquet-cpp ]; then
|
||||||
git clone https://github.com/apache/parquet-cpp.git "$TP_DIR/build/parquet-cpp"
|
git clone -q https://github.com/apache/parquet-cpp.git "$TP_DIR/build/parquet-cpp"
|
||||||
pushd $TP_DIR/build/parquet-cpp
|
pushd $TP_DIR/build/parquet-cpp
|
||||||
git fetch origin master
|
git fetch origin master
|
||||||
git checkout $TARGET_COMMIT_ID
|
git checkout $TARGET_COMMIT_ID
|
||||||
|
|
2
thirdparty/scripts/build_ui.sh
vendored
2
thirdparty/scripts/build_ui.sh
vendored
|
@ -39,7 +39,7 @@ if [[ ! -d $CATAPULT_HOME ]]; then
|
||||||
# The git clone command seems to fail in Travis, so retry up to 20 times.
|
# The git clone command seems to fail in Travis, so retry up to 20 times.
|
||||||
for COUNT in {1..20}; do
|
for COUNT in {1..20}; do
|
||||||
# Attempt to git clone catapult and break from the retry loop if it succeeds.
|
# Attempt to git clone catapult and break from the retry loop if it succeeds.
|
||||||
git clone https://github.com/ray-project/catapult.git $CATAPULT_HOME && break
|
git clone -q https://github.com/ray-project/catapult.git $CATAPULT_HOME && break
|
||||||
# If none of the retries succeeded at getting boost, then fail.
|
# If none of the retries succeeded at getting boost, then fail.
|
||||||
if [[ $COUNT == 20 ]]; then
|
if [[ $COUNT == 20 ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
|
|
Loading…
Add table
Reference in a new issue