[LLVMdev] tblgen internals

Bob Wilson bob.wilson at apple.com
Fri Dec 10 10:52:48 PST 2010


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