mirror of
https://github.com/wassname/ray.git
synced 2026-06-27 18:06:25 +08:00
Cleanup left over shell scripts in build process (#6017)
This commit is contained in:
@@ -85,10 +85,6 @@ echo "Using Python executable $PYTHON_EXECUTABLE."
|
||||
BAZEL_EXECUTABLE=$(PATH="$PATH:$HOME/.bazel/bin" which bazel)
|
||||
echo "Using Bazel executable $BAZEL_EXECUTABLE."
|
||||
|
||||
RAY_BUILD_PYTHON=$RAY_BUILD_PYTHON \
|
||||
RAY_BUILD_JAVA=$RAY_BUILD_JAVA \
|
||||
bash "$ROOT_DIR/setup_thirdparty.sh" "$PYTHON_EXECUTABLE"
|
||||
|
||||
# Now we build everything.
|
||||
BUILD_DIR="$ROOT_DIR/build/"
|
||||
if [ ! -d "${BUILD_DIR}" ]; then
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -x
|
||||
|
||||
# Cause the script to exit if a single command fails.
|
||||
set -e
|
||||
|
||||
ROOT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
|
||||
|
||||
if [[ -z "$1" ]]; then
|
||||
PYTHON_EXECUTABLE=$(which python)
|
||||
else
|
||||
PYTHON_EXECUTABLE=$1
|
||||
fi
|
||||
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"
|
||||
Vendored
-28
@@ -1,28 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
# Cause the script to exit if a single command fails.
|
||||
set -e
|
||||
|
||||
TP_SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)
|
||||
TP_DIR=$TP_SCRIPT_DIR/..
|
||||
|
||||
mkdir -p $TP_DIR/build
|
||||
mkdir -p $TP_DIR/pkg
|
||||
|
||||
if [[ -z "$1" ]]; then
|
||||
PYTHON_EXECUTABLE=`which python`
|
||||
else
|
||||
PYTHON_EXECUTABLE=$1
|
||||
fi
|
||||
echo "Using Python executable $PYTHON_EXECUTABLE."
|
||||
|
||||
if [[ "$RAY_BUILD_JAVA" == "YES" ]]; then
|
||||
echo "Java library will be built."
|
||||
fi
|
||||
if [[ "$RAY_BUILD_PYTHON" == "YES" ]]; then
|
||||
echo "Python library will be built."
|
||||
fi
|
||||
|
||||
unamestr="$(uname)"
|
||||
Reference in New Issue
Block a user