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

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

Thread Previous
From:
Victor Efimov
Date:
June 6, 2013 19:39
Subject:
Re: running Build... how to run parallel?
Message ID:
CAF7QZD5Z6qkJqbxEgsWo9MEFyNgr+Fbs2S+_dkYkan=F+P2vhQ@mail.gmail.com
Sorry, this was actually answer to this thread
http://www.nntp.perl.org/group/perl.module.build/2013/05/msg2926.html

But I failed to send in-reply-to header..

2013/6/6 Leon Timmermans <fawaka@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


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About