Front page | perl.perl5.porters |
Postings from August 2008
Re: make tests parallel
Thread Previous
|
Thread Next
From:
Eric Wilhelm
Date:
August 6, 2008 09:19
Subject:
Re: make tests parallel
Message ID:
200808060918.52655.ewilhelm@cpan.org
# from Nicholas Clark
# on Wednesday 06 August 2008 02:31:
>I had hoped that it would be possible to make a stab at parsing the
> command line options to make to try to automatically run the same
> number of tests as make jobs, but, for GNU make:
>
>$ make -j 6 foo
>perl -e 'print "$_\n" foreach @ARGV' -- --jobserver-fds=3,4 -j
>--jobserver-fds=3,4
>-j
What does your foo target look like?
>which I guess makes sense - rather than having subordinate makes also
> run 6 (or 3) jobs, it ensures that the total number of jobs is no
> more than the value given to the top level command line -j flag.
Do subordinate makes need to be involved? I've never had a reason to
know or like make, so perhaps I'm incorrectly assuming that one harness
can be handed a list of tests? Is the -j flag going to cause make to
run amuck in the subdirectories?
--Eric
--
Minimum wage help gives you minimum service.
--David Schomer
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------
Thread Previous
|
Thread Next