Bazel Blog |
|
Posted: 16 Jun 2019 05:00 PM PDT Bazel 0.27 has just been released. With Bazel 0.27, we start a 3 month stability window. Bazel 0.28 and Bazel 0.29 will be backward compatible with Bazel 0.27. See our announcement about Bazel Stability and Semantic Versioning. This release contains more incompatible changes than usual, as we try to fix the important issues before Bazel 1.0. Incompatible changesBazel 0.27 Linux release binaries have been built on Ubuntu 16.04 (before: Ubuntu 14.04, which is now EOL). This change will probably break compatibility with older Linux distributions like Ubuntu 14.04. If this causes you problems, please open an issue and let us know. Before updating to Bazel 0.27, first check if your codebase is compatible either
by running
For more information about the changes, please click on the links and read the GitHub issues. Comment there if you need help. If you use external repositories, you might first have to update the dependencies in your WORKSPACE file. Android
Apple platforms
C++
Python
Configurations
Remote Execution
Other changes
Community
This release contains contributions from many people at Google, as well as Alex Thompson, Andy Scott, Benjamin Peterson, David McNett, Drew Gassaway, James deBoer, Jay Vercellone, Josh Rosen, Keith Smiley, Lee Mracek, Marwan Tammam, Matt Passell, Michael Hackner, Michal Majcherski, Patrick Niklaus, Peter Mounce, Ricky Pai, Steeve Morin, szakmary, Takuto Ikuta, Vladimir Chebotarev, and Yen-Chi Chen. |
| You are subscribed to email updates from Bazel Blog. To stop receiving these emails, you may unsubscribe now. |
Email delivery powered by Google |
| Google, 1600 Amphitheatre Parkway, Mountain View, CA 94043, United States | |
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/0000000000009a57c2058b995d02%40google.com.
For more options, visit https://groups.google.com/d/optout.
Bazel Blog |
|
Automatic execution strategy selection in Bazel 0.27 Posted: 18 Jun 2019 05:00 PM PDT tl;dr: Exciting news! After 0.27 release Bazel can auto select a suitable execution strategy, eliminating the need for manual configuration via command line flags in most cases. When Bazel executes commands that are a part of the build, such as compiler and linker invocations, test runs etc., it has a choice on how to execute those commands (also called actions): locally, remotely, in a sandbox, and so on. This is controlled by execution strategies. Starting with 0.27 release, we implemented a feature in Bazel that will allow it to auto select a suitable execution strategy, eliminating the need for manual configuration via command line flags in most cases; and even in cases when customization and strategy enforcement is needed, it is still fully possible and has become much simpler. Before Bazel 0.27It was possible to configure Bazel's execution strategy for a build via flags
Example
After Bazel 0.27
Why is it better?
Example
How to use it
How to migrateYou would know that you need to migrate if you see the following error: The general advice here would be to remove any Contact usNote that the change was made behind the incompatible flag, so please ping us in case of any difficulties. |