develooper Front page | perl.perl5.porters | Postings from August 2016

make_ext.pl run every darn time

Thread Next
From:
Jarkko Hietaniemi
Date:
August 7, 2016 23:33
Subject:
make_ext.pl run every darn time
Message ID:
75c612eb-d62f-3e98-250b-ff3770ea5498@iki.fi
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.

$ make perl
./miniperl -Ilib make_patchnum.pl
Reusing 'git_version.h' and 'lib/Config_git.pl'
./miniperl -Ilib make_ext.pl ext/ExtUtils-Miniperl/pm_to_blib 
MAKE="/Applications/Xcode.app/Contents/Developer/usr/bin/make" 
LIBPERL_A=libperl.a
Running pm_to_blib for ext/ExtUtils-Miniperl directly
./miniperl -Ilib make_ext.pl cpan/Archive-Tar/pm_to_blib 
MAKE="/Applications/Xcode.app/Contents/Developer/usr/bin/make" 
LIBPERL_A=libperl.a
./miniperl -Ilib make_ext.pl dist/Attribute-Handlers/pm_to_blib 
MAKE="/Applications/Xcode.app/Contents/Developer/usr/bin/make" 
LIBPERL_A=libperl.a
...
Running pm_to_blib for cpan/version directly
./miniperl -Ilib make_ext.pl DynaLoader.o 
MAKE="/Applications/Xcode.app/Contents/Developer/usr/bin/make" 
LIBPERL_A=libperl.a LINKTYPE=static CCCDLFLAGS=
make perl  4.81s user 1.18s system 95% cpu 6.269 total


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About