Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Perl: porters

Utility for building multiple variant perl configurations?

 

 

Perl porters RSS feed   Index | Next | Previous | View Threaded


Tim.Bunce at pobox

Nov 10, 2009, 8:20 AM

Post #1 of 5 (260 views)
Permalink
Utility for building multiple variant perl configurations?

Does anyone have a utility for building multiple variant perl
configurations?

By which I mean something that'll run

./Configure ... && make && make test && make install

over and over for various combinations of Configure options?

I couldn't see one in the source tree so I'm cooking one up now
(it's currently thrashing my laptop's harddisk :)

Thought I'd ask here before I get much further with it...

Tim.


h.m.brand at xs4all

Nov 10, 2009, 8:50 AM

Post #2 of 5 (248 views)
Permalink
Re: Utility for building multiple variant perl configurations? [In reply to]

On Tue, 10 Nov 2009 16:20:33 +0000, Tim Bunce <Tim.Bunce [at] pobox>
wrote:

> Does anyone have a utility for building multiple variant perl
> configurations?
>
> By which I mean something that'll run
>
> ./Configure ... && make && make test && make install
>
> over and over for various combinations of Configure options?

$ cpan Test::Smoke

should work on all supported OS's
That's what brings us the smoke reports, and it does almost exactly what
you ask

> I couldn't see one in the source tree so I'm cooking one up now
> (it's currently thrashing my laptop's harddisk :)
>
> Thought I'd ask here before I get much further with it...

--
H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, OpenSuSE 10.3, 11.0, and 11.1, AIX 5.2 and 5.3.
http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/
http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/


doughera at lafayette

Nov 10, 2009, 10:07 AM

Post #3 of 5 (248 views)
Permalink
Re: Utility for building multiple variant perl configurations? [In reply to]

On Tue, 10 Nov 2009, Tim Bunce wrote:

> Does anyone have a utility for building multiple variant perl
> configurations?
>
> By which I mean something that'll run
>
> ./Configure ... && make && make test && make install
>
> over and over for various combinations of Configure options?
>
> I couldn't see one in the source tree so I'm cooking one up now
> (it's currently thrashing my laptop's harddisk :)
>
> Thought I'd ask here before I get much further with it...

Test::Smoke might do what you want. Personally, I just usually end up
with a shell script with a bunch of nested for loops to get all
permutations of all the options.

--
Andy Dougherty doughera [at] lafayette


Tim.Bunce at pobox

Nov 10, 2009, 10:09 AM

Post #4 of 5 (246 views)
Permalink
Re: Utility for building multiple variant perl configurations? [In reply to]

On Tue, Nov 10, 2009 at 05:50:36PM +0100, H.Merijn Brand wrote:
> On Tue, 10 Nov 2009 16:20:33 +0000, Tim Bunce <Tim.Bunce [at] pobox>
> wrote:
>
> > Does anyone have a utility for building multiple variant perl
> > configurations?
> >
> > By which I mean something that'll run
> >
> > ./Configure ... && make && make test && make install
> >
> > over and over for various combinations of Configure options?
>
> $ cpan Test::Smoke
>
> should work on all supported OS's
> That's what brings us the smoke reports, and it does almost exactly what
> you ask

Umm. Doesn't seem to be a good fit for my needs, but the docs are quite
sparse so it's hard to be sure. I'd still have to run 'make install'
myself, and still have to work out the combinations of configure options.

The script I have builds and install a bunch of variants for testing
(I'll be running perlbench etc to get an updated cost of -Duseshrplib)
For example:

5.10.1-debug-longdouble-noshrplib-nothreads-64bitall: ok
5.10.1-debug-longdouble-noshrplib-nothreads-no64bitall: ok
5.10.1-debug-longdouble-noshrplib-threads-no64bitall: ok
5.10.1-debug-longdouble-shrplib-nothreads-no64bitall: ok
5.10.1-debug-longdouble-shrplib-threads-64bitall: ok
5.10.1-debug-nolongdouble-noshrplib-nothreads-no64bitall: ok
5.10.1-debug-nolongdouble-noshrplib-threads-64bitall: ok
5.10.1-debug-nolongdouble-shrplib-nothreads-64bitall: ok
5.10.1-debug-nolongdouble-shrplib-nothreads-no64bitall: ok
5.10.1-nodebug-longdouble-noshrplib-nothreads-no64bitall: ok
5.10.1-nodebug-longdouble-noshrplib-threads-64bitall: ok
5.10.1-nodebug-longdouble-noshrplib-threads-no64bitall: ok
5.10.1-nodebug-longdouble-shrplib-nothreads-64bitall: ok
5.10.1-nodebug-longdouble-shrplib-threads-no64bitall: ok
5.10.1-nodebug-nolongdouble-noshrplib-nothreads-64bitall: ok
5.10.1-nodebug-nolongdouble-noshrplib-nothreads-no64bitall: ok
5.10.1-nodebug-nolongdouble-noshrplib-threads-no64bitall: ok
5.10.1-nodebug-nolongdouble-shrplib-nothreads-no64bitall: ok
5.10.1-nodebug-nolongdouble-shrplib-threads-64bitall: ok

Tim.


davidnicol at gmail

Nov 10, 2009, 11:28 AM

Post #5 of 5 (258 views)
Permalink
Re: Utility for building multiple variant perl configurations? [In reply to]

On Tue, Nov 10, 2009 at 12:07 PM, Andy Dougherty <doughera [at] lafayette> wrote:
>  Personally, I just usually end up
> with a shell script with a bunch of nested for loops to get all
> permutations of all the options.



you could take this to the next level and write a perl script that
outputs the shell script

perl BuildVariants.pl | ksh

--
http://twitter.com/HankSwap tweets approximately every 36 hours using
random delays. Promotional excerpts are fair use!

Perl porters RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.