Skip to content
This repository has been archived by the owner on Jul 31, 2023. It is now read-only.

Commit

Permalink
Travis fix: upgrade bazel to 3.7.2 (#455)
Browse files Browse the repository at this point in the history
--local_resources flag was split into ram/cpu.
  • Loading branch information
g-easy authored Jan 6, 2021
1 parent ba63106 commit 31fe48a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/travis/build_bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ set -e
set -x

# Limit memory.
export BAZEL_OPTIONS="--local_resources=4096,2,1.0"
export BAZEL_OPTIONS="--local_ram_resources=4096"

# Limit the amount of progress output. We can't use --noshow_progress because
# Travis terminates the build after 10 mins without output.
Expand All @@ -27,7 +27,7 @@ if [[ "$TRAVIS_COMPILER" = "clang" ]]; then
export BAZEL_OPTIONS="$BAZEL_OPTIONS --copt=-Werror=thread-safety --copt=-Werror=thread-safety-reference"
fi

export BAZEL_VERSION="1.1.0"
export BAZEL_VERSION="3.7.2"

wget https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-${BAZEL_OS}-x86_64.sh
chmod +x bazel-${BAZEL_VERSION}-installer-${BAZEL_OS}-x86_64.sh
Expand Down

0 comments on commit 31fe48a

Please sign in to comment.