[LLVMdev] LLVM as shared libraries

Óscar Fuentes ofv at wanadoo.es
Wed Oct 7 15:49:57 PDT 2009


Axel Naumann <Axel.Naumann at cern.ch> writes:

> is there an option to build LLVM's libs (and maybe clangs, but that's
> for later :-) as shared libraries? It's not --enable-shared :-) If it
> doesn't exist: is there any interest to have it? It would reduce my
> build time considerably...

With cmake it is BUILD_SHARED_LIBS

http://www.llvm.org/docs/CMake.html

The doc says it is not recommended because it increases process startup
time, which is very noticeable if you run your compiler lots of times
(i.e. a test suite).

-- 
Óscar




More information about the llvm-dev mailing list