commit | 7e723372590fe6b975b292c529530e42d28cc440 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Wed Mar 28 11:50:12 2018 -0700 |
committer | Colin Cross <ccross@android.com> | Tue Apr 10 16:51:29 2018 -0700 |
tree | f51e3810ae1e856251129940c37ad56bba5d0011 | |
parent | ff2c5b4cc808246366338b6d31aa5616e08f113d [diff] |
Reduce maximum goroutine count Running with the data race detector enabled hits a 8192 active goroutine limit. Reduce the maximum number of active goroutines by limiting parallelVisit to 1000 goroutines. Also rewrite cloneModule in terms of parallelVisit. Change-Id: Icdd63648e8e010557b624e12592156490b40adb9
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.