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

[macOS] Bazel 4.0.0 breaking changes #2547

Closed
2 of 9 tasks
MaksimZhukov opened this issue Jan 25, 2021 · 2 comments
Closed
2 of 9 tasks

[macOS] Bazel 4.0.0 breaking changes #2547

MaksimZhukov opened this issue Jan 25, 2021 · 2 comments

Comments

@MaksimZhukov
Copy link
Contributor

MaksimZhukov commented Jan 25, 2021

Breaking changes
Bazel will be updated from 3.7.1 to 4.0.0.

Target date
Image deployment will start January, 25 and will take 3-4 days.

The motivation for the changes
We would like to provide images with the latest stable updates.

Possible impact
Bazel has a bunch of breaking changes, find details in https://blog.bazel.build/2021/01/19/bazel-4-0.html

Also you could experience the issues if use Bazel on macOS with non-default Xcode: Bazel 4.0 doesn't support Xcode <= 11.3.1 (because of Clang incompatibility). If you need to use Bazel with old Xcode, make sure that you freeze Bazel < 4.0. Find more details in bazelbuild/bazel#12882

Virtual environments affected

  • Ubuntu 16.04
  • Ubuntu 18.04
  • Ubuntu 20.04
  • macOS 10.13
  • macOS 10.14
  • macOS 10.15
  • macOS 11.0
  • Windows Server 2016 R2
  • Windows Server 2019

Mitigation ways
Please, use the following workaround to install bazel 3.7.1 in runtime:

export USE_BAZEL_VERSION="3.7.1"
bazel --version
@MaksimZhukov MaksimZhukov changed the title [all OSs] Bazel will be updated from 3.7.1 to 4.0.0 on January, 25 [macOS] Bazel 4.0.0 breaking changes Jan 25, 2021
@AlenaSviridenko AlenaSviridenko pinned this issue Jan 26, 2021
@gtothe7
Copy link

gtothe7 commented Jan 31, 2021

#924

@MaksimZhukov
Copy link
Contributor Author

Rollout of these changes has been finished.

@maxim-lobanov maxim-lobanov unpinned this issue Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants