Re: running Build... how to run parallel?
[email protected] (Leon Timmermans) Thu, 6 Jun 2013 20:47:57 +0200
| Newsgroups | perl.module.build |
|---|---|
| Message-ID | <CAHhgV8iUMdi=FT4ZwMWQuBqMsi5xG48_y-rxm=Pz0gRUZ2JoYQ@mail.gmail.com> |
On Wed, Jun 5, 2013 at 6:58 PM, Victor Efimov <[email protected]> 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