[LLVMdev] Parallel testsuite run breaks

Török Edwin edwintorok at gmail.com
Thu Dec 9 10:23:33 PST 2010


On Thu, 09 Dec 2010 11:57:04 -0600
greened at obbligato.org (David A. Greene) wrote:

> Török Edwin <edwintorok at gmail.com> writes:
> 
> > I don't see anything wrong with FileCheck either.
> >
> > However looks here, that .bc file is in the *source* tree, not the
> > obj tree: not llvm-dis
> > < /ptmp/dag/llvm-project.official/llvm/trunk/test/Bitcode/null-type.ll.bc
> > > /dev/null |& grep "Invalid MODULE_CODE_FUNCTION record"
> 
> I think that's there from checkout.  You can see it on the web.

Ah OK.

> 
> It seems I spoke too soon about build-level parallelization (running
> multiple parallel builds in parallel).  4.1.2 works fine for
> Debug+Asserts builds but fails horribly on Release+Asserts buils on
> SLES 10.1 when run by itself. 

Can you try running some of the failing lines manually and see if they
still fail?

Also are you doing these tests on LLVM 2.8, or trunk?

There's one caveat with running tests though:
if you have opt, llc, etc. in your path then 'make check' might use
those instead of the ones you just built.
IIRC I've bumped into that when I had an old LLVM 2.6 in /usr/local, and
2.7 tests failed.

> I'm assuming there's nothing wrong
> with doing an LLVM parallel build (make -j).

make -j is fine, I do it all the time. I've never run make check
in parallel though.

> Sigh.  More compilers to try...

Try 4.3 if SLES has it.

Best regards,
--Edwin




More information about the llvm-dev mailing list