You can also do make ONLY_TOOLS="llc" Pete On May 3, 2012, at 11:52 PM, Tim Northover wrote:> Hi Beckert, > >> is it possible to compile just an subproject? For example, just llc or lli? > > With CMake you can just type "make llc" from your build directory. I > don't know about the autotools build. > > Tim. > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
Neither worked. =( ________________________________ From: Peter Cooper <peter_cooper at apple.com> To: Tim Northover <t.p.northover at gmail.com> Cc: Beckert Frey <beckert.frey at yahoo.com>; "llvmdev at cs.uiuc.edu" <llvmdev at cs.uiuc.edu> Sent: Friday, May 4, 2012 2:22 PM Subject: Re: [LLVMdev] how compile subproject You can also do make ONLY_TOOLS="llc" Pete On May 3, 2012, at 11:52 PM, Tim Northover wrote:> Hi Beckert, > >> is it possible to compile just an subproject? For example, just llc or lli? > > With CMake you can just type "make llc" from your build directory. I > don't know about the autotools build. > > Tim. > _______________________________________________ > 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/20120504/6359a4b3/attachment.html>
> Neither worked. =(Hmm. Something seems to have gone horribly wrong then. I've just reproduced Peter's suggestion on the autoconf build and it worked fine. Perhaps try a clean build out of tree: CMake: mkdir my_special_build_dir cd my_special_build_dir cmake $PATH_TO_LLVM_SOURCE make llc Autotools: mkdir my_special_build_dir cd my_special_build_dir $PATH_TO_LLVM_SOURCE/configure make ONLY_TOOLS=llc Both of these have just worked for me, so if they don't work for you we may need more details: your platform and the files you see but expect not to if only llc is built are the most obvious ones. Tim.