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

Victor Efimov <[email protected]> Thu, 6 Jun 2013 22:52:15 +0400
Newsgroups gmane.comp.lang.perl.modules.module-build
Message-ID <CAF7QZD5Z6qkJqbxEgsWo9MEFyNgr+Fbs2S+_dkYkan=F+P2vhQ@mail.gmail.com>
--001a11c2650e1c99a504de80d037
Content-Type: text/plain; charset=ISO-8859-1

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 <[email protected]>

> 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
>

--001a11c2650e1c99a504de80d037
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Sorry, this was actually answer to this thread<br><a href=3D"http://www.nnt=
p.perl.org/group/perl.module.build/2013/05/msg2926.html">http://www.nntp.pe=
rl.org/group/perl.module.build/2013/05/msg2926.html</a><br><br>But I failed=
 to send in-reply-to header..<br>
<br><div class=3D"gmail_quote">2013/6/6 Leon Timmermans <span dir=3D"ltr">&=
lt;<a href=3D"mailto:[email protected]" target=3D"_blank">[email protected]</=
a>&gt;</span><br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8=
ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=3D"HOEnZb"><div class=3D"h5">On Wed, Jun 5, 2013 at 6:58 PM, Vic=
tor Efimov &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt;=
 wrote:<br>
&gt; You can do it like this<br>
&gt; my $build =3D Module::Build-&gt;new(<br>
&gt; ...<br>
&gt; =A0 =A0 use_tap_harness =A0 =A0=3D&gt; 1,<br>
&gt; =A0 =A0 tap_harness_args =A0 =3D&gt; { jobs =3D&gt; 8 },<br>
&gt;<br>
&gt; ...<br>
&gt;<br>
&gt; =A0 =A0 build_requires =3D&gt; {<br>
&gt; =A0 =A0 =A0 =A0 &#39;TAP::Harness&#39; =3D&gt; 0,<br>
&gt;<br>
&gt;<br>
&gt; see docs for TAP::Harness<br>
&gt; TAP::Harness is a core module since 5.10<br>
<br>
</div></div>If your question is, &quot;how do I do this from the command li=
ne&quot;, there<br>
are two ways to do it.<br>
<br>
./Build test --tap_harness_args jobs=3D8<br>
HARNES_OPTIONS=3Dj8 ./Build test<br>
<br>
I&#39;m not fond of either, I&#39;d love to have a --jobs=3D8 that could<br=
>
theoretically include building too, but that&#39;s unlikely to happen<br>
soon.<br>
<span class=3D"HOEnZb"><font color=3D"#888888"><br>
Leon<br>
</font></span></blockquote></div><br>

--001a11c2650e1c99a504de80d037--