[PATCH] ext/extmk.rb: parallelize configure
This reduces "touch ext/extmk.rb && make -j" time from
roughly 38 to 16 seconds on my 8 core machine with
an otherwise fully-built source tree.
git pull git://80x24.org/ruby.git extmk-parallel
#3 [ruby-core:61152] Updated by Eric Wong about 2 years ago
Does it work with
OK, I should have both of them working with a lot of new code
and pushed out an addendum patch:
http://bogomips.org/ruby.git/patch?id=84ea2b48a git://80x24.org/ruby.git extmk-parallel-v2
Even without these patches, I get a lot of
"warning: already initialized constant" warnings when running
`make check' and that seems to cause failures...
#5 [ruby-core:61268] Updated by Eric Wong about 2 years ago
Trivial addendum for v3 (pushed earlier, but I lost my Internet
connection before I could email).
5779e60 ext/extmk.rb: uniq extlibs
195e511 ext/extmk.rb: fix for static-linked-ext and compiled? usage
3029a5e ext/extmk.rb: parallelize configure
I'll squash this series together and commit in a few days unless there's
objections/bugs found. It should help productivity for developers with
fork enabled systems and gracefully fallback for systems without fork.