Skip to content

Commit

Permalink
[iOS] Limit multiple lipo_binary rules running concurrently
Browse files Browse the repository at this point in the history
Multiple lipo_binary/ linker_driver rules running concurrenlty causes
release bots out of memory. This CL adds link_pool to the rule to
limit the parallelism of the build.

Bug: 762840
Change-Id: Iee48382d4e5feb436febd124ad77fe81ed22e424
Reviewed-on: https://chromium-review.googlesource.com/674089
Reviewed-by: Yuke Liao <[email protected]>
Reviewed-by: Sylvain Defresne <[email protected]>
Commit-Queue: Sylvain Defresne <[email protected]>
Cr-Commit-Position: refs/heads/master@{#503091}(cherry picked from commit 586ea88)

[email protected]

Change-Id: Iee48382d4e5feb436febd124ad77fe81ed22e424
Reviewed-on: https://chromium-review.googlesource.com/675885
Reviewed-by: Shenghua Zhang <[email protected]>
Cr-Commit-Position: refs/branch-heads/3202@{crosswalk-project#362}
Cr-Branched-From: fa6a5d8-refs/heads/master@{#499098}
  • Loading branch information
Shenghua Zhang committed Sep 20, 2017
1 parent d2d2b21 commit a6c8266
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/config/ios/rules.gni
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ template("lipo_binary") {

script = "//build/toolchain/mac/linker_driver.py"

# http://crbug.com/762840. Fix for bots running out of memory.
pool = "//build/toolchain:link_pool($default_toolchain)"

outputs = [
"$target_out_dir/$_output_name",
]
Expand Down

0 comments on commit a6c8266

Please sign in to comment.