[LLVMdev] Question about TableGen when adding LLVM Backend.

Jakob Stoklund Olesen stoklund at 2pi.dk
Sun Mar 13 14:11:41 PDT 2011


On Mar 13, 2011, at 3:52 AM, Andreas Färber wrote:

> Am 10.03.2011 um 05:35 schrieb Jakob Stoklund Olesen:
>> On Mar 9, 2011, at 8:15 PM, Lu Mitnick wrote:
>>> Is this means that TableGen execution is handled in Makefile. Porting programmer doesn't need to execute TableGen by hand?
>> You are going to be editing your .td files a lot, so you want that integrated in the build system.
> 
> In practice that'll mean adding the correct directives to CMakeLists.txt, not Makefile, right? That's what the targets I looked at did.
> Or is that optional when you just invoke "make"?

Those are part of two unrelated build systems - cmake and autoconf.

You need to maintain both for an in-tree target. Otherwise you only need build files for the build system you use.

/jakob





More information about the llvm-dev mailing list