Effectively unlimited linking.

Ninja will still cap concurrency with it's default value (from -j), so we just
need a big number equal or greater than the number of cores in any machine.

BUG=skia:
R=borenet@google.com, mtklein@google.com

Author: mtklein@chromium.org

Review URL: https://codereview.chromium.org/319153002
This commit is contained in:
mtklein 2014-06-06 08:27:07 -07:00 committed by Commit bot
parent 97724ed4cf
commit 2e44b51b9a

View File

@ -134,6 +134,11 @@ if __name__ == '__main__':
os.environ[ENVVAR_GYP_GENERATOR_FLAGS] = (
gyp_generator_flags + ' msvs_error_on_missing_sources=1')
# GYP is very conservative about how many concurrent linker calls it allows,
# to fit in RAM. We don't need to be nearly as conservative as Chrome. We'll
# just turn that feature off.
os.environ['GYP_LINK_CONCURRENCY'] = '9001'
print 'Updating projects from gyp files...'
sys.stdout.flush()