diff --git a/build.sh b/build.sh index 1e149c2badcfa..b314beca93038 100755 --- a/build.sh +++ b/build.sh @@ -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 diff --git a/setup_thirdparty.sh b/setup_thirdparty.sh deleted file mode 100755 index 6e6e615c21cab..0000000000000 --- a/setup_thirdparty.sh +++ /dev/null @@ -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" diff --git a/thirdparty/scripts/setup.sh b/thirdparty/scripts/setup.sh deleted file mode 100755 index a6492f0df0180..0000000000000 --- a/thirdparty/scripts/setup.sh +++ /dev/null @@ -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)"