Parallel ext configuration

* ext/configure-ext.mk: configure each directories underneath ext
  in parallel.

* template/exts.mk.tmpl: then collect the results.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@57401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-01-23 02:50:23 +00:00
parent ee9f6fdfad
commit 17b748df2b
7 changed files with 148 additions and 7 deletions

View file

@ -1072,7 +1072,9 @@ clean-ext distclean-ext realclean-ext::
) )
distclean-ext realclean-ext::
-$(Q)$(RM) ext/extinit.c
-$(Q)$(RM) ext/extinit.c ext/configure-ext.mk
@cd ext && for /D $(EXTS) %I in (.) \
do @if exist %I\exts.mk del %I\exts.mk
-$(Q)rmdir ext 2> nul || @
clean-extout: