mirror of
https://github.com/wassname/ray.git
synced 2026-07-27 11:26:41 +08:00
Allow setting INCLUDE_UI=0 to disable building the UI. (#1618)
This commit is contained in:
committed by
Philipp Moritz
parent
1222d09224
commit
ec9dfe7748
Vendored
+5
@@ -16,6 +16,11 @@ CATAPULT_FILES=$TP_DIR/../../python/ray/core/src/catapult_files
|
||||
# This is where we will copy the files that need to be packaged with the wheels.
|
||||
mkdir -p $CATAPULT_FILES
|
||||
|
||||
if [[ "$INCLUDE_UI" == "0" ]]; then
|
||||
# Let installation continue without building the UI.
|
||||
exit 0
|
||||
fi
|
||||
|
||||
if ! type python2 > /dev/null; then
|
||||
echo "cannot properly set up UI without a python2 executable"
|
||||
if [[ "$INCLUDE_UI" == "1" ]]; then
|
||||
|
||||
Reference in New Issue
Block a user