Skip to content

Commit af7252d

Browse files
pcmoritzedoakes
authored andcommitted
Deactivate bazel caching for linux wheels (#5915)
1 parent 0320b21 commit af7252d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,14 +113,20 @@ matrix:
113113
- ./ci/suppress_output ./ci/travis/install-dependencies.sh
114114

115115
# Mount bazel cache dir to the docker container.
116+
# For the linux wheel build, we use a shared cache between all
117+
# wheels, but not between different travis runs, because that
118+
# caused timeouts in the past. See the "cache: false" line below.
116119
- export MOUNT_BAZEL_CACHE="-v $HOME/ray-bazel-cache:/root/ray-bazel-cache -e TRAVIS=true"
120+
117121
# This command should be kept in sync with ray/python/README-building-wheels.md,
118122
# except the `$MOUNT_BAZEL_CACHE` part.
123+
119124
- ./ci/suppress_output docker run --rm -w /ray -v `pwd`:/ray $MOUNT_BAZEL_CACHE -ti rayproject/arrow_linux_x86_64_base:latest /ray/python/build-wheel-manylinux1.sh
120125
script:
121126
- if [ $RAY_CI_LINUX_WHEELS_AFFECTED != "1" ]; then exit; fi
122127

123128
- ./ci/travis/test-wheels.sh
129+
cache: false
124130

125131
# Build MacOS wheels.
126132
- os: osx

0 commit comments

Comments
 (0)