mirror of
https://github.com/wassname/ray.git
synced 2026-08-13 12:30:18 +08:00
Allow Ray to be built without UI by setting INCLUDE_UI=0. (#1094)
* Allow building Ray without UI by setting INCLUDE_UI=0. * Fix bash. * Fix linting.
This commit is contained in:
committed by
Philipp Moritz
parent
3944e9a450
commit
8f1a73f041
Vendored
+1
-1
@@ -16,7 +16,7 @@ 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 [ ! type python2 > /dev/null ]; then
|
||||
if ! type python2 > /dev/null; then
|
||||
echo "cannot properly set up UI without a python2 executable"
|
||||
if [[ "$INCLUDE_UI" == "1" ]]; then
|
||||
# Since the UI is explicitly supposed to be included, fail here.
|
||||
|
||||
Reference in New Issue
Block a user