commit | de2183d20b39db8e9e21a006b6b2fae761dde8a6 | [log] [tgz] |
---|---|---|
author | Lukacs Berki <lberki@google.com> | Wed Dec 16 11:25:36 2015 +0000 |
committer | Dmitry Lomov <dslomov@google.com> | Wed Dec 16 11:40:28 2015 +0000 |
tree | 9715034b643a5f64f4893a35762e69676aa94c8f | |
parent | 60f6cf6f1d7708ac46982d190dfe03f04160e5ac [diff] |
Only depend on the WORKSPACE file for external files that are under the external/ directory, i.e. were created by Bazel. This avoids a cycle that arose when a file is load()ed from the WORKSPACE file that is reached through a symlink to an external directory: * The WORKSPACE file depends on the package lookup node of the .bzl file * The package lookup node (transitively) depends on wherever the symlink points * The target of the symlink is an external file and as such, it depends on the WORKSPACE file This will probably be, erm, interesting to solve when we get as far as to load stuff from external repositories in the WORKSPACE file, but we are just not there yet. -- MOS_MIGRATED_REVID=110344658
{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.