Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: build/toolchain/gcc_toolchain.gni

Issue 1492843006: get_concurrent_links.py: give more RAM per job in LTO builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: win Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/toolchain/get_concurrent_links.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/toolchain/gcc_toolchain.gni
diff --git a/build/toolchain/gcc_toolchain.gni b/build/toolchain/gcc_toolchain.gni
index 6742f2b9d1b215bec91dea3dc13e2c4bb1f7adbe..e83b94b46b1bde7d1ea5ae0d4d92bc3b2113c842 100644
--- a/build/toolchain/gcc_toolchain.gni
+++ b/build/toolchain/gcc_toolchain.gni
@@ -9,7 +9,12 @@ import("//build/toolchain/goma.gni")
import("//build/toolchain/toolchain.gni")
# This value will be inherited in the toolchain below.
-concurrent_links = exec_script("get_concurrent_links.py", [], "value")
+if (is_cfi) {
+ concurrent_links =
+ exec_script("get_concurrent_links.py", [ "--lto" ], "value")
+} else {
+ concurrent_links = exec_script("get_concurrent_links.py", [], "value")
+}
# This template defines a toolchain for something that works like gcc
# (including clang).
« no previous file with comments | « no previous file | build/toolchain/get_concurrent_links.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698