Commit 3580fd5b authored by pcc's avatar pcc Committed by Commit bot

build: Reduce link concurrency for sanitizer coverage builds.

Sanitizer coverage instrumentation increases linker memory consumption
significantly.

BUG=717552
R=thakis@chromium.org

Review-Url: https://codereview.chromium.org/2866443003
Cr-Commit-Position: refs/heads/master@{#469548}
parent e2fa8b21
...@@ -33,6 +33,10 @@ if (concurrent_links == -1) { ...@@ -33,6 +33,10 @@ if (concurrent_links == -1) {
"--reserve_mem_gb=20", "--reserve_mem_gb=20",
] ]
} }
} else if (use_sanitizer_coverage) {
# Sanitizer coverage instrumentation increases linker memory consumption
# significantly.
_args = [ "--mem_per_link_gb=12" ]
} else if (is_win) { } else if (is_win) {
_args = [ "--mem_per_link_gb=5" ] _args = [ "--mem_per_link_gb=5" ]
} else if (is_mac) { } else if (is_mac) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment