commit | 59dbf684fbba5b6f3a99cd1761dd7c7f5cf69a3e | [log] [tgz] |
---|---|---|
author | Ulf Adams <ulfjack@google.com> | Thu Sep 17 11:36:43 2015 +0000 |
committer | David Chen <dzc@google.com> | Thu Sep 17 19:33:42 2015 +0000 |
tree | 44e288c9e2d9f149f017923f7a2b078734c30647 | |
parent | 88f643c422b018716ac9f228f8aeda64b4e27897 [diff] |
Simplify BuildView construction and store configurations in the build result. I was persuing the idea that BuildView could become stateless. While that should be possible, we're currently still relying on minimal state in BuildView (from tests at least) in a way that makes it tricky to remove. Instead, I'm now trying to move the BuildView into CommandEnvironment, and create a new one as needed (only for build commands); that makes it safe in the presence of concurrently running commands, as long as they don't use the same BuildView instace. (Of course, allowing commands to run concurrently will need more changes outside of BuildView.) -- MOS_MIGRATED_REVID=103279370
{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.