DescriptionAdds tools/ninja.py that runs goma builds in parallel
This CL adds a script tools/ninja.py that runs Goma enabled builds
in parallel. Non-goma builds are run serially, as before.
Conflating this feature with gyp support in tools/build.py
got to be a bit of a mess, which is why this is split off as a
separate script. This script can replace build.py after gyp support
is removed.
With a warm goma:
$ time ./tools/build.py -m debug,release -a x64,ia32 runtime runtime_precompiled
...
real 4m25.627s
user 3m30.740s
sys 1m3.873s
$ ./tools/ninja.py -m debug,release -a x64,ia32 runtime runtime_precompiled
...
The build took 108.900 seconds
R=rmacnak@google.com
Committed: https://github.com/dart-lang/sdk/commit/1f0168b95c7e2e8867cacb780a15e131f40ec65c
Patch Set 1 #Patch Set 2 : Move new stuff to ninja.py #Patch Set 3 : Add -j switch for Mac #
Total comments: 2
Patch Set 4 : Remove java configuration #Messages
Total messages: 8 (3 generated)
|