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

Unified Diff: build/config/compiler/BUILD.gn

Issue 2550883002: Disable threads on lld-link trunk bots to see if they hurt build time. (Closed)
Patch Set: Created 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 9426ef1836ab343f3dd3a69f822e502f91799a60..c6ea8839a08a379ce93460dd93ac60c1f20a1b8f 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -321,6 +321,12 @@ config("compiler") {
if (is_posix && use_lld && !is_nacl) {
ldflags += [ "-fuse-ld=lld" ]
+
+ # LLD as of 2016/12/02 seems to behave poorly with multi-threading.
+ # Disable threads on LLD trunk bots to see if they hurt build time.
+ if (llvm_force_head_revision) {
+ ldflags += [ "-Wl,-no-threads" ]
+ }
} else if (use_gold) {
ldflags += [ "-fuse-ld=gold" ]
if (is_android) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698