develooper Front page | perl.perl5.porters | Postings from November 2010

[RFC] Add capability to exclude non-XS extensions

Thread Next
Jerry D. Hedden
November 18, 2010 12:52
[RFC] Add capability to exclude non-XS extensions
Message ID:
In order to save time building and testing Perl, I use the
-Dnoextensions=... option in Configure to exclude over a
dozen XS extensions when building Perl.  These include
extensions I don't need (e.g., Sys/Syslog), don't want
(e.g., Text/Soundex) or that aren't supported on my current
architecture (e.g., IPC/SysV).

I wanted the same exclusion capability for non-XS extensions
so I created the attached patch.  It allows both the
-Dnoextensions=... and -Donlyextensions=... options in
Configure to work for XS as well as non-XS extensions.

Using this patch, I now exclude over 50 non-XS modules from
my Perl builds.  This gains me a 25% (5.12.x) to 35% (blead)
reduction in the time needed to build, test and install
Perl.  (In blead, for example, from 4 hrs. down to 2.5).

Any comments or suggestions would be appreciated.  I'll
submit this patch 'officially' following the v5.13.7

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About