platform_build_soong/ui/build
Colin Cross 8b8bec3b3a Create a highmem pool and put metalava into it
Create a highmem pool based on the total RAM and the number of CPUs,
with an override via the NINJA_HIGHMEM_NUM_JOBS variable.  Put
metalava into the highmem pool.

Ninja does not support nested pools, and when goma or RBE is enabled
the maximum ninja parallelism is set very high with local jobs in a
local pool.  When both the local pool and highmem pool are enabled,
the total number of local jobs will be as high as the sum of the sizes
of the two pools.  Keep the highmem pool limited to 1/16th of the
local pool when remote builds are enabled to try to minimize the
effect while still limiting highmem jobs.

Fixes: 142644983
Test: m nothing, examine pools
Test: m USE_GOMA=true nothing, examine pools
Change-Id: Id79f11f44948992960ac34ecf831dacbe21bd332
2020-01-24 11:44:23 -08:00
..
paths Merge "Disallow system m4" 2020-01-15 19:38:22 +00:00
sandbox/darwin Revert "Revert "Revert "Revert "Add path interposer"""" 2018-05-31 14:59:33 -07:00
Android.bp Remove files that should no longer be installed 2020-01-03 16:46:15 -08:00
build.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
cleanbuild.go Remove files that should no longer be installed 2020-01-03 16:46:15 -08:00
cleanbuild_test.go Remove files that should no longer be installed 2020-01-03 16:46:15 -08:00
config.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
config_darwin.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
config_linux.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
config_test.go Remove support for ONE_SHOT_MAKEFILE 2019-07-31 18:11:27 -07:00
context.go Soong: Fix the package name in metrics.proto file 2019-06-14 15:27:46 -07:00
dumpvars.go Add option to limit environment variables given to ninja 2020-01-03 15:36:29 -08:00
environment.go Create a highmem pool and put metalava into it 2020-01-24 11:44:23 -08:00
environment_test.go Add a Kati-based packaging step 2018-10-19 09:55:00 -07:00
exec.go Print ninja stdout live during the build 2019-07-03 16:33:10 -07:00
finder.go Generate build timing metrics to proto format file 2019-01-04 15:54:01 -08:00
goma.go Add dist_dir to goma trigger 2019-07-23 16:16:15 -04:00
kati.go Remove files that should no longer be installed 2020-01-03 16:46:15 -08:00
ninja.go Add FLAG_compare to whitelisted environment variables 2020-01-09 08:53:01 -08:00
path.go Fix dumpvars $PATH / $TMPDIR 2019-10-04 12:53:51 -07:00
proc_sync.go Make soong lock file sync time configurable.. 2019-05-24 17:10:48 -04:00
proc_sync_test.go Revert "Revert "Disallow multiple build executions in parallel"" 2017-05-24 13:22:19 -07:00
rbe.go Add USE_RBE support to soong. 2019-07-17 18:46:47 +00:00
sandbox_darwin.go Implement linux sandboxing with nsjail 2019-01-15 13:47:31 -08:00
sandbox_linux.go Allow debugging with SOONG_DELVE=<listen addr> 2019-07-03 16:33:31 -07:00
signal.go Improve signal handling in soong_ui 2017-02-22 10:44:19 -08:00
soong.go Sandbox soong_build by changing to root directory 2020-01-11 01:11:46 +00:00
test_build.go Generate build timing metrics to proto format file 2019-01-04 15:54:01 -08:00
util.go soong_ui: Add build actions commands in soong_ui. 2019-06-13 13:15:12 -07:00
util_test.go Add a unified status reporting UI 2018-07-12 14:15:31 -07:00