commit | 2523698c12a78fb6b860ce6da836bafad4409b30 | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Mon Apr 05 17:20:34 2021 -0700 |
committer | Colin Cross <ccross@android.com> | Thu Apr 15 11:04:11 2021 -0700 |
tree | 3d4f2ae9a2a6e753bd5c20839d203df40d46c844 | |
parent | 45222ec3ca6e7117aac2b10795c5ee37f62188f5 [diff] |
Speed up globs with sharding There are a few cases that force all globs to be rerun at the beginning of the build (changes to bpglob or dependencies, second build after a clean build). The number of globs has gotten high enough that rerunning them all can have significant overhead to start bpglob for each one. Replace the per-glob bpglob invocations with sharded invocations using 1024 hash buckets. Bug: 159845846 Test: glob_test.go Test: m nothing && m nothing Test: build/soong/bootstrap_test.sh Change-Id: Ife1f7a03c8f6b25d1be01531425d8dc2c76d1ea0
Blueprint is being archived on 2021 May 3.
On 2021 May 3, we will be archiving the Blueprint project. This means it will not be possible to file new issues or open new pull requests for this GitHub project. As the project is being archived, patches -- including security patches -- will not be applied after May 3. The source tree will remain available, but changes to Blueprint in AOSP will not be merged here and Blueprint's source tree in AOSP will eventually stop being usable outside of Android.
Whereas there are no meta-build systems one can use as a drop-in replacement for Blueprint, there are a number of build systems that can be used: