Hi, Would it be possible to set tbgen to be installed with llvm? For our project http://llvm.org/ProjectsWithLLVM/#tta-tce it would be very helpful, because our tools generate compiler backend plugins in the fly for each customized processor and plugin generation needs tbgen for handling td files. Because of tbgen not beeing distributed, our users cannot use llvm from their favorite distribution packages, but they have to have llvm sources as well to be able to use our tools. Basically we have workaround where we copy tbgen sources of each supported version of llvm to our project tree and write compile rules and install it with our project, which is a bit painful. Mikael Lepistö -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090505/e49de0d1/attachment.html>
On May 4, 2009, at 11:03 PM, Mikael Lepistö wrote:> Hi, > > Would it be possible to set tbgen to be installed with llvm? For our > project http://llvm.org/ProjectsWithLLVM/#tta-tce it would be very > helpful, because our tools generate compiler backend plugins in the > fly for each customized processor and plugin generation needs tbgen > for handling td files.Sure, would you care to prepare a patch? -Chris> > Because of tbgen not beeing distributed, our users cannot use llvm > from their favorite distribution packages, but they have to have > llvm sources as well to be able to use our tools. Basically we have > workaround where we copy tbgen sources of each supported version of > llvm to our project tree and write compile rules and install it with > our project, which is a bit painful. > > Mikael Lepistö > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090505/dc34447f/attachment.html>
Chris Lattner wrote:> > On May 4, 2009, at 11:03 PM, Mikael Lepistö wrote: > >> Hi, >> >> Would it be possible to set tbgen to be installed with llvm? For our >> project http://llvm.org/ProjectsWithLLVM/#tta-tce it would be very >> helpful, because our tools generate compiler backend plugins in the >> fly for each customized processor and plugin generation needs tbgen >> for handling td files. > > Sure, would you care to prepare a patch? > > -ChrisGreat! Hope that this patch will do. I removed util dir from install filter-out list, added NO_INSTALL = 1 to googletest Makefile and removed NO_INSTALL define from tblgen. Mikael Lepistö -------------- next part -------------- A non-text attachment was scrubbed... Name: tblgen_install.patch Type: text/x-patch Size: 1192 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090507/67e9a39a/attachment.bin>
Possibly Parallel Threads
- [LLVMdev] Installing tbgen with llvm by default.
- [LLVMdev] Installing tbgen with llvm by default.
- [LLVMdev] Fwd: [llvm-commits] [PATCH] Building llvm-gcc with llvm-2.5 debian packages
- [LLVMdev] Opt pass for collecting static memory allocations (allocas and globals) to one big memory area.
- [LLVMdev] Opt pass for collecting static memory allocations (allocas and globals) to one big memory area.