[LLVMdev] LLVM as shared libraries

Axel Naumann Axel.Naumann at cern.ch
Wed Oct 7 15:55:49 PDT 2009


Hi Óscar,

On 2009-10-08 00:49, Óscar Fuentes wrote:
> 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? 
>
> With cmake it is BUILD_SHARED_LIBS
> 
> http://www.llvm.org/docs/CMake.html

Great! So I must use CMake instead of configure / make to get shared libs?

> 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).

I'm not, I'm *building* my compiler tons of times ;-)

Thanks for your quick reply!

Cheers, Axel.



More information about the llvm-dev mailing list