[llvm-dev] Building tablegen alone

Mehdi Amini via llvm-dev llvm-dev at lists.llvm.org
Thu Oct 20 09:09:30 PDT 2016


> On Oct 19, 2016, at 10:17 PM, Gopalasubramanian, Ganesh via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> Hi!
>  
> For one of my cross compilation requirements I need to build tablegen alone for the host platform. Is there any way to configure the make system to build only the tablegen?

I believe we support cross-compiling with CMake: passing -DCMAKE_CROSSCOMPILING=ON will trigger automatically that llvm-tblgen will be first build for the host in a subdirectory, before starting the build for the target using the just-built tablegen.

See also: http://llvm.org/docs/HowToCrossCompileLLVM.html <http://llvm.org/docs/HowToCrossCompileLLVM.html>


— 
Mehdi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161020/c0fd2b5d/attachment.html>


More information about the llvm-dev mailing list