commit | 9bd6b38617a791a1878d2fa82063d79231517499 | [log] [tgz] |
---|---|---|
author | Dan Willemsen <dwillemsen@google.com> | Wed Nov 02 00:43:00 2016 -0700 |
committer | Dan Willemsen <dwillemsen@google.com> | Wed Nov 02 13:10:27 2016 -0700 |
tree | 1479f9c8f0b62ebed92ab06203e904faefb5993f | |
parent | 460c80eb12af380a37b86f7ec331415c531a4692 [diff] |
Refactor test running to improve parallelism Before this change, we would ensure that tests for a package were run before anything used that package, even just to compile. With this change, we'll let other packages compile, but still run the tests in dependency order, and before the binaries are finally installed. This shrinks our initial build time from ~9 seconds to ~5 seconds on my machine. Most of the improvements come from building the "real" package and the test package in parallel. Change-Id: I935670feecadacbf09b250bcaa1659a3599edc58
Blueprint is a meta-build system that reads in Blueprints files that describe modules that need to be built, and produces a Ninja manifest describing the commands that need to be run and their dependencies. Where most build systems use built-in rules or a domain-specific language to describe the logic for converting module descriptions to build rules, Blueprint delegates this to per-project build logic written in Go. For large, heterogenous projects this allows the inherent complexity of the build logic to be maintained in a high-level language, while still allowing simple changes to individual modules by modifying easy to understand Blueprints files.