Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 81f170f6 authored by Cole Faust's avatar Cole Faust
Browse files

Disable RBE in multiproduct_kati

RBE has signifigant performance overhead during
analysis time, in theory to reduce execution time.
But multiproduct_kati only tests analysis, and does
not run any execution, so RBE is just slowing us
down.

Bug: 229863781
Bug: 265603584
Test: time ./build/soong/build_test.bash  --products aosp_arm64 on stage_aosp_master
Change-Id: Icbb2f001fee03a75bad37c14d08a203be20ac6cf
parent c004bf3b
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -515,7 +515,8 @@ func runSoongUiForProduct(mpctx *mpContext, product string) {
		"TARGET_BUILD_VARIANT="+*buildVariant,
		"TARGET_BUILD_TYPE=release",
		"TARGET_BUILD_APPS=",
		"TARGET_BUILD_UNBUNDLED=")
		"TARGET_BUILD_UNBUNDLED=",
		"USE_RBE=false") // Disabling RBE saves ~10 secs per product

	if *alternateResultDir {
		cmd.Env = append(cmd.Env,