mirror of
https://github.com/wassname/ray.git
synced 2026-09-09 11:32:43 +08:00
Find bazel even if it isn't in the PATH. (#4729)
This commit is contained in:
committed by
Philipp Moritz
parent
23ae73135e
commit
af463e8bb1
+2
-3
@@ -7,7 +7,7 @@ set -e
|
||||
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
|
||||
|
||||
if [[ -z "$1" ]]; then
|
||||
PYTHON_EXECUTABLE=`which python`
|
||||
PYTHON_EXECUTABLE=$(which python)
|
||||
else
|
||||
PYTHON_EXECUTABLE=$1
|
||||
fi
|
||||
@@ -15,5 +15,4 @@ echo "Using Python executable $PYTHON_EXECUTABLE."
|
||||
|
||||
RAY_BUILD_PYTHON=$RAY_BUILD_PYTHON \
|
||||
RAY_BUILD_JAVA=$RAY_BUILD_JAVA \
|
||||
$ROOT_DIR/thirdparty/scripts/setup.sh $PYTHON_EXECUTABLE
|
||||
|
||||
"$ROOT_DIR/thirdparty/scripts/setup.sh" "$PYTHON_EXECUTABLE"
|
||||
|
||||
Reference in New Issue
Block a user