Re: Lancaster Consensus, deal with PUREPERL_ONLY=0

[email protected] (David Golden)
Newsgroups perl.cpan.workers
Message-ID <CAOeq1c940ep4EajF7bAUk3FYma8yb-DTguwiSa0uiryKfXmDNA@mail.gmail.com>
On Mon, Jun 2, 2014 at 7:28 AM, Jens Rehsack <[email protected]> wrote:
> Others (eg. packagers) have always a compiler and want benefit from XS when
> available and what is more important: if the "DEVELOPER MODE FLAGS IS ON",
> they want to have a -Werror behavior even for "I enabled foo and it doesn't
> appear".

I don't understand what you mean by this.

> I'm fine with "Jens' distribution have a non-standard switch", but I
> would prefer a "Toolchain community favors that knob to be used".

In Lancaster, we considered having both a "give me PP" option *and* a
"give me XS" option and the group decided it was less confusing to
have just one.

Here's how I would do it:

(a) if the PP option is there, give them PP
(b) if the PP option is missing/false, check if there is a compiler
(c) if there is a compiler, give them XS or give them death
(d) if there isn't a compiler, give them PP

If for (c) that means running tests under some "XS-only" flag of your
own, that's fine with me.

David


-- 
David Golden <[email protected]> Twitter/IRC: @xdg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.