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
This commit is contained in:
parent
c004bf3b7e
commit
81f170f6bc
1 changed files with 2 additions and 1 deletions
|
@ -515,7 +515,8 @@ func runSoongUiForProduct(mpctx *mpContext, product string) {
|
||||||
"TARGET_BUILD_VARIANT="+*buildVariant,
|
"TARGET_BUILD_VARIANT="+*buildVariant,
|
||||||
"TARGET_BUILD_TYPE=release",
|
"TARGET_BUILD_TYPE=release",
|
||||||
"TARGET_BUILD_APPS=",
|
"TARGET_BUILD_APPS=",
|
||||||
"TARGET_BUILD_UNBUNDLED=")
|
"TARGET_BUILD_UNBUNDLED=",
|
||||||
|
"USE_RBE=false") // Disabling RBE saves ~10 secs per product
|
||||||
|
|
||||||
if *alternateResultDir {
|
if *alternateResultDir {
|
||||||
cmd.Env = append(cmd.Env,
|
cmd.Env = append(cmd.Env,
|
||||||
|
|
Loading…
Reference in a new issue