Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

running Build... how to run parallel?

4 views
Skip to first unread message

Victor Efimov

unread,
Jun 5, 2013, 12:58:24 PM6/5/13
to module...@perl.org
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

Leon Timmermans

unread,
Jun 6, 2013, 2:47:57 PM6/6/13
to Victor Efimov, module...@perl.org
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

Victor Efimov

unread,
Jun 6, 2013, 2:52:15 PM6/6/13
to Leon Timmermans, module...@perl.org
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 <faw...@gmail.com>
0 new messages