commit | 0ddda7899d8be0420130f5b963510434e35b7197 | [log] [tgz] |
---|---|---|
author | ccalvarin <ccalvarin@google.com> | Thu Apr 06 21:12:11 2017 +0000 |
committer | Marcel Hlopko <hlopko@google.com> | Fri Apr 07 11:17:40 2017 +0200 |
tree | 0fa9f4e860ed982db2900851f5d0049a015b87a1 | |
parent | ee4c2525f58253813290e3d00d6d4c58167c51cc [diff] |
Move InvocationPolicy from a startup argument to part of the RunRequest proto. The user interface is not changing. The policy will still be accepted as a flag passed to the client, as a startup flag (before the command), it will just no longer trigger server restarts and will not be passed on to a bazel server as part of the startup arguments. In batch mode, however, it will still be a startup argument, because the RunRequest proto is not sent, and all invocations restart bazel in batch mode anyway. Since invocation policy only affects command arguments, and changes in command arguments do not cause server restarts, this is consistent with other server restart behavior. RELNOTES: Changing --invocation_policy will no longer force a server restart. PiperOrigin-RevId: 152426207
{Fast, Correct} - Choose two
Bazel is a build tool that builds code quickly and reliably. It is used to build the majority of Google‘s software, and thus it has been designed to handle build problems present in Google’s development environment, including:
A massive, shared code repository, in which all software is built from source. Bazel has been built for speed, using both caching and parallelism to achieve this. Bazel is critical to Google's ability to continue to scale its software development practices as the company grows.
An emphasis on automated testing and releases. Bazel has been built for correctness and reproducibility, meaning that a build performed on a continuous build machine or in a release pipeline will generate bitwise-identical outputs to those generated on a developer's machine.
Language and platform diversity. Bazel's architecture is general enough to support many different programming languages within Google, and can be used to build both client and server software targeting multiple architectures from the same underlying codebase.
Find more background about Bazel in our FAQ.