[LLVMdev] tblgen internals

Garrison Venn gvenn.cfe.dev at gmail.com
Fri Dec 10 11:52:07 PST 2010


Ok, I was wondering why make check-all was using llvm-gcc for clang tests. 

Thanks for the pointer, I got to learn about: Release+Asserts/bin/llvm-lit test/TableGen
which is really cool.

Garrison

On Dec 10, 2010, at 13:52, Bob Wilson wrote:

> 
> On Dec 10, 2010, at 10:17 AM, Garrison Venn wrote:
> 
>> Ok thanks I'll try that. I was trying to avoid re-building llvm-gcc.
> 
> You don't need llvm-gcc to run most of the "make check" tests.  The FrontEnd tests use it, but that's all.  If you run configure with "--without-llvmgcc --without-llvmgxx", then it shouldn't use llvm-gcc at all.
> 
>> 
>> Garrison
>> 
>> On Dec 10, 2010, at 12:12, Bob Wilson wrote:
>> 
>>> 
>>> On Dec 10, 2010, at 6:11 AM, Garrison Venn wrote:
>>> 
>>>> Hey Chris,
>>>> 
>>>> Ok, so I'm working on creating this trivial patch, for starters, but I'm trying to identify
>>>> a controlled unit test for tblgen. So all of the following test tblgen to various extents:
>>>> 
>>>> 1) make
>>>> 2) make unittests
>>>> 3) make // with clang
>>>> 
>>>> and
>>>> 
>>>> 4) make check // which I'm avoiding
>>> 
>>> Why are you avoiding it?  That's where most of the TableGen tests are (in tests/TableGen).  If you only want to run the TableGen tests, you can do:
>>> 
>>> make TESTSUITE=TableGen check
>> 
> 





More information about the llvm-dev mailing list