develooper Front page | perl.perl5.porters | Postings from September 2013

[perl #79538] [PATCH] Add capability to exclude non-XS extensions

Thread Previous | Thread Next
From:
James E Keenan via RT
Date:
September 7, 2013 02:12
Subject:
[perl #79538] [PATCH] Add capability to exclude non-XS extensions
Message ID:
rt-3.6.HEAD-1873-1378519965-1269.79538-15-0@perl.org
On Fri Jan 06 23:46:45 2012, sprout wrote:
> On Tue Nov 23 07:36:50 2010, doughera wrote:
> > On Mon, 22 Nov 2010, Jan Dubois wrote:
> > 
> > > On Mon, 22 Nov 2010, demerphq wrote:
> > > > On 22 November 2010 09:01, H.Merijn Brand <h.m.brand@xs4all.nl>
wrote:
> > > > > On Sun, 21 Nov 2010 15:19:21 -0800, "Jerry D. Hedden" (via RT)
> > > > > <perlbug-followup@perl.org> wrote:
> > > > >
> > > > >> 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).
> > 
> > > Not building all the extensions also helps with bisecting (even though
> > > a Configure based mechanism alone won't help on Windows, which needs
> > > help the most).
> > 
> > On balance, I'm in favor of this extension to an existing command-line 
> > option.  For a variety of reasons, there are times when you definitely
> > want Configure to hand you more rope.
> > 
> > Equally emphatically, however, I don't think any compensating
changes to 
> > the test suite are appropriate at this time.  If I deliberately exclude 
> > an extension that "we" expect to be there, then I must live with the 
> > consequences.  If I go out of my way to build a broken perl, I expect 
> > the test suite to fail.
> 
> I’m in favour of this patch, as long as we don’t modify the test suite
> to accommodate broken builds.
> 
> 


A patch to permit exclusion of non-XS extensions was originally
submitted by Jerry Hedden in Nov 2010.  Jesse Vincent was skeptical. 
Others were more favorably inclined.  Both Andy Dougherty and Father C.
spoke in favor provided we don't spend time modifying the test suite to
accommodate such an exclusion.

I suspect that if we were to adopt this patch, the maintenance burden
would fall on the Configure maintainers.  I also suspect that the patch
is old enough that it wouldn't apply cleanly, though I haven't tested that.

Do we want to move forward with this?

Thank you very much.
Jim Keenan

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=79538

Thread Previous | 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