Serialize GWT dbg and opt compiles
The GWT compiler swamps a system when it builds, using multiple threads to build each permutation in parallel. It also requires a lot of RAM. Buck is not aware of the cost of the genrule and currently schedules both to build at the same time. Make ui_opt depend on ui_dbg so Buck is forced to serialize these build steps, reducing the load on average systems while possibly extending build time on very powerful (e.g. 16 core) systems. Change-Id: Icc1856c9c4e7919c28dc533e792fa25aadcdf801
This commit is contained in:
parent
0337f85377
commit
b547ca9d7b
@ -32,7 +32,7 @@ gwt_application(
|
|||||||
'-XdisableClassMetadata',
|
'-XdisableClassMetadata',
|
||||||
'-XdisableCastChecking',
|
'-XdisableCastChecking',
|
||||||
],
|
],
|
||||||
deps = APP_DEPS,
|
deps = APP_DEPS + [':ui_dbg'],
|
||||||
)
|
)
|
||||||
|
|
||||||
gwt_application(
|
gwt_application(
|
||||||
|
Loading…
Reference in New Issue
Block a user