[LLVMdev] [PATCH] Parallelized make check

Julien Lerouge jlerouge at apple.com
Wed Feb 25 12:02:18 PST 2009


On Wed, Feb 25, 2009 at 10:26:02AM -0800, Chris Lattner wrote:
> 
> On Feb 24, 2009, at 10:03 PM, Julien Lerouge wrote:
> 
> > On Tue, Feb 24, 2009 at 06:24:17PM -0800, Julien Lerouge wrote:
> >> I haven't tested with objdir != srcdir.
> >
> > Ok, that was broken. Attached is a smaller diff that should work in  
> > all
> > cases.
> 
> This sounds really cool Julien!  Two questions: 1) does it preserve  
> the checking that the existing tcl stuff does, which fails a test if  
> any subcommand fails?   2) does this work with the nightly tester?

For 1), I think the check-one target used by jcheck doesn't change the
tcl logic: if any RUN line fails, the whole test fails.

For 2), I think the NewNightlyTest.pl script would require some small
changes, to invoke the jcheck target instead of check, pass the desired
-j flag, and also parse the log. I'll take a look. In any case, the
changes would only apply to the DejaGNU tests (llvm-test already works
fine with -jX).

> Thanks for working on this, 8x faster make check would be very nice :)

Well, thanks for the great LLVM stuff.

Julien

-- 
Julien Lerouge
PGP Key Id: 0xB1964A62
PGP Fingerprint: 392D 4BAD DB8B CE7F 4E5F FA3C 62DB 4AA7 B196 4A62
PGP Public Key from: keyserver.pgp.com



More information about the llvm-dev mailing list