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

[RFC] Add capability to exclude non-XS extensions

Thread Next
From:
Jerry D. Hedden
Date:
November 18, 2010 12:52
Subject:
[RFC] Add capability to exclude non-XS extensions
Message ID:
AANLkTinAyK4OP4B7h56HimTQ8hx-gcNMpSAZ82vfPcdh@mail.gmail.com
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
release.

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