develooper Front page | perl.module.build | Postings from June 2013

Re: running Build... how to run parallel?

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
June 6, 2013 18:48
Subject:
Re: running Build... how to run parallel?
Message ID:
CAHhgV8iUMdi=FT4ZwMWQuBqMsi5xG48_y-rxm=Pz0gRUZ2JoYQ@mail.gmail.com
On Wed, Jun 5, 2013 at 6:58 PM, Victor Efimov <victor@vsespb.ru> wrote:
> You can do it like this
> my $build = Module::Build->new(
> ...
>     use_tap_harness    => 1,
>     tap_harness_args   => { jobs => 8 },
>
> ...
>
>     build_requires => {
>         'TAP::Harness' => 0,
>
>
> see docs for TAP::Harness
> TAP::Harness is a core module since 5.10

If your question is, "how do I do this from the command line", there
are two ways to do it.

./Build test --tap_harness_args jobs=8
HARNES_OPTIONS=j8 ./Build test

I'm not fond of either, I'd love to have a --jobs=8 that could
theoretically include building too, but that's unlikely to happen
soon.

Leon

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