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

Unified Diff: build/SConscript.main

Issue 9463: Serialize links on Linux. Should fix http://code.google.com/p/chromium/issue... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 1 month 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/SConscript.main
===================================================================
--- build/SConscript.main (revision 4895)
+++ build/SConscript.main (working copy)
@@ -459,6 +459,10 @@
)
linux_env.Replace(
+ # Linking of large files uses lots of RAM, so serialize links
+ # using the handy flock command from util-linux.
+ LINK = 'flock ' + linux_env['TARGET_ROOT'] + '/linker.lock ' + linux_env['LINK'],
Evan Martin 2008/11/10 22:00:16 I wonder if you can get away with the "$FOO" patte
+
# We have several cases where archives depend on each other in a cyclic
# fashion. (V8Bindings, libport and WebCore being the most significant
# example.) Since the GNU linker does only a single pass over the archives
« 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