Gopalasubramanian, Ganesh via llvm-dev
2016-Oct-20 05:17 UTC
[llvm-dev] Building tablegen alone
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? Thank you Ganesh -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20161020/7313b887/attachment.html>
On 10/20/2016 12:17 AM, Gopalasubramanian, Ganesh via llvm-dev wrote:> > 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?You can always use "make llvm-tblgen" after you configure the build tree. I don't know if there is any way to restrict it otherwise in terms of downloading sources, etc. -Krzysztof -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
> 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>