[LLVMdev] Minimal LLVM build?

Óscar Fuentes ofv at wanadoo.es
Sat Jul 17 06:25:36 PDT 2010


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]




More information about the llvm-dev mailing list