Hi, I'd like to integrate LLVM with a project, and I wonder what is the absolute minimum amount of libraries I have to compile to get a working LLVM/JIT for use from C++. That is, I don't want to build any command line tools, no tests, no examples, just the libraries. I assume that the following folders can be removed safely from the 2.7 release: * unittests * tools * test * bindings * examples * projects * docs At least the rest compiles fine if I get rid of these. Is there something more I can strip from the source? I want to integrate into my source repository, so I want to keep the number of files as small as possible. utils in particular seems to contain a lot of stuff which is not necessary for building LLVM. Thanks! -- J
A A <sse3ml at googlemail.com> writes:> I'd like to integrate LLVM with a project, and I wonder what is the > absolute minimum amount of libraries I have to compile to get a > working LLVM/JIT for use from C++. That is, I don't want to build any > command line tools, no tests, no examples, just the libraries. > > I assume that the following folders can be removed safely from the 2.7 > release:Rather than removing folders, pass the right options to `configure' or to cmake so they build just the libraries. If you are working on Unix, tell the build process to build only the LLVM target for your platform. At the end, it is almost certain that you get more libraries compiled than you need. [snip]
Reasonably Related Threads
- [LLVMdev] [cfe-dev] 2.7 Pre-release1 available for testing
- [LLVMdev] [cfe-dev] 2.7 Pre-release1 available for testing
- [LLVMdev] [cfe-dev] 2.7 Pre-release1 available for testing
- [LLVMdev] 1.9 Next Steps
- [LLVMdev] 1.9 Prerelease Available for Testing (TAKE TWO)