Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pin bazel version to 5.2.0 to work around drake#17763 #235

Merged
merged 1 commit into from
Aug 23, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion scripts/setup/linux/ubuntu/focal/install_prereqs
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,12 @@ apt-key adv --fetch-keys https://bazel.build/bazel-release.pub.gpg
echo 'deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8' \
> /etc/apt/sources.list.d/bazel.list

# TODO(drake#17763): Bazel is pinned here because Bazel 5.3.0 broke the way
# we do LCM builds. This should be reverted when Bazel fixes the problem or
# when Drake finds a workaround to it.
apt-get update
apt-get install --no-install-recommends $(cat <<EOF
bazel
bazel-5.2.0
clang-format-12
cmake
coinor-libclp-dev
Expand Down Expand Up @@ -135,6 +138,8 @@ apt-get install --no-install-recommends $(cat <<EOF
zlib1g-dev
EOF
)
# Symlink "bazel" to the pinned version. TODO(drake#17763): Don't do this.
ln -s /usr/bin/bazel-5.2.0 /usr/local/bin/bazel

locale-gen en_US.UTF-8

Expand Down