build: Bump number of parallel LTO jobs up to 6, but keep it at 1 for goma lto.
A follow-up to https://chromium-review.googlesource.com/c/chromium/src/+/2467360 android-official is no longer timing out with that change ( https://ci.chromium.org/p/chromium/builders/ci/android-official/2242 https://ci.chromium.org/p/chromium/builders/ci/android-official/2243 ), but builds are still much slower than before. Try doubling number of tasks and see what that does. I suppose the thinlto cache means that concurrent links save some time for each other -- even if the cpus are oversubscribed, every running link can do work that the other links do. The CrOS ebuild set link parallelism to 1, so explicitly do this if goma lto is on, so that we don't increase the load on goma from lto tasks. Bug: 1132930,1137812 Change-Id: If2b451fa3dc69f7ecde05e581ddb46addc901118 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2468740 Commit-Queue: Nico Weber <thakis@chromium.org> Reviewed-by:Hans Wennborg <hans@chromium.org> Cr-Commit-Position: refs/heads/master@{#816759}
Showing
Please register or sign in to comment