From d02205887abf2916ff0fb5a8f8ac4e6d548eed42 Mon Sep 17 00:00:00 2001 From: Ruofan Kong Date: Fri, 25 Mar 2022 14:53:11 -0700 Subject: [PATCH] No Case: Try bazel 5.0.0 build. --- ci/azure_pipelines/main.yml | 52 ++++++++++++++--------------- python/build-wheel-manylinux2014.sh | 4 +-- 2 files changed, 28 insertions(+), 28 deletions(-) diff --git a/ci/azure_pipelines/main.yml b/ci/azure_pipelines/main.yml index b17af0f29935..3d720e40bb07 100644 --- a/ci/azure_pipelines/main.yml +++ b/ci/azure_pipelines/main.yml @@ -33,7 +33,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ mac_python36: imageName: 'macOS-10.15' @@ -41,7 +41,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'osx' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: Ray Tests Small And Large pool: @@ -78,7 +78,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ mac_python36: imageName: 'macOS-10.15' @@ -86,7 +86,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'osx' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: Ray Tests Medium A to J pool: @@ -123,7 +123,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ mac_python36: imageName: 'macOS-10.15' @@ -131,7 +131,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'osx' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: Ray Tests Medium K to Z pool: @@ -166,7 +166,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: Ray ASAN Tests pool: @@ -206,7 +206,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: RLlib Bonsai Tests pool: @@ -235,7 +235,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: RLlib Quick Train pool: @@ -264,7 +264,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: RLlib Tests A-to-L pool: @@ -292,7 +292,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: RLlib Tests M-to-Z pool: @@ -321,7 +321,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: Ubuntu Wheels pool: @@ -364,7 +364,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'osx' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: MacOS Wheels pool: @@ -403,7 +403,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: Tune Tests pool: @@ -428,7 +428,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: SGD Tests pool: @@ -453,7 +453,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: Tune-SGD Tests pool: @@ -484,7 +484,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: JAVA Tests pool: @@ -511,7 +511,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: Streaming Tests pool: @@ -538,7 +538,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: CPP Worker Tests pool: @@ -568,7 +568,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: RLlib Regression Tests TF 2 pool: @@ -597,7 +597,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: RLlib Regression Tests TF 1 pool: @@ -626,7 +626,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: RLlib Learning Tests Torch pool: @@ -655,7 +655,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: RLlib Examples pool: @@ -687,7 +687,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: Multi-Platform Jars pool: @@ -714,7 +714,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: Test Doc Examples pool: @@ -739,7 +739,7 @@ stages: bazel.outputRoot: $(Agent.TempDirectory)/_bazel_* TEST_TMPDIR: $(Agent.TempDirectory) TRAVIS_OS_NAME: 'linux' - USE_BAZEL_VERSION: '3.4.1' + USE_BAZEL_VERSION: '5.0.0' AGENT_TOOLSDIRECTORY: /opt/hostedtoolcache/ displayName: Lint pool: diff --git a/python/build-wheel-manylinux2014.sh b/python/build-wheel-manylinux2014.sh index 9419a0643808..0b35485cb655 100755 --- a/python/build-wheel-manylinux2014.sh +++ b/python/build-wheel-manylinux2014.sh @@ -118,10 +118,10 @@ for ((i=0; i<${#PYTHONS[@]}; ++i)); do fi # build ray wheel - PATH=/opt/python/${PYTHON}/bin:/root/bazel-3.4.1/output:$PATH \ + PATH=/opt/python/${PYTHON}/bin:/root/bazel-5.0.0/output:$PATH \ /opt/python/"${PYTHON}"/bin/python setup.py bdist_wheel # build ray-cpp wheel - PATH=/opt/python/${PYTHON}/bin:/root/bazel-3.4.1/output:$PATH \ + PATH=/opt/python/${PYTHON}/bin:/root/bazel-5.0.0/output:$PATH \ RAY_INSTALL_CPP=1 /opt/python/"${PYTHON}"/bin/python setup.py bdist_wheel # In the future, run auditwheel here. mv dist/*.whl ../.whl/