On Mon, Aug 8, 2016 at 7:39 AM, Jarkko Hietaniemi <jhi@iki.fi> wrote: > On Monday-201608-08 8:10, Craig A. Berry wrote: >> >> On Sun, Aug 7, 2016 at 6:33 PM, Jarkko Hietaniemi <jhi@iki.fi> wrote: >>> >>> I don't know if this is a feature of OS X, but I am getting quite bored >>> of >>> make_ext.pl being rerun every time "make perl" is run, see below. >>> >>> It only takes couple of seconds in this box but it's still pretty dumb. >>> >>> In slower/older boxes starting miniperl 101 times (I counted) is >>> not just dumb but outright painful. >> >> >> IIRC, it replaced running EU:MM for each of those extensions, which >> was massively slower than what we have now. Surely you're not >> suggesting we skip extension building entirely if it's been done once? > > > Not suggesting that. Saying that what we have now could be better. > > For example, does a new miniperl need to be started 101 times? Ah, I see what you're talking about. In Makefile.SH it runs make_ext.pl for each and every extension instead of running it once for each category of extension. It looks like that change came along here: http://perl5.git.perl.org/perl.git/commit/07f3cc2a611daebb9d83f869d36ef63cf4fa2565?f=Makefile.SH On VMS we don't do it that way but instead pass the --dynamic, --static, and/or --nonxs flags to make_ext.pl and thus it's only run a total of 3 times. So it looks like figuring out whether the current version of make_ext.pl handles LINKTYPE correctly would be the only impediment reducing the number of invocations.Thread Previous | Thread Next