[LLVMdev] make SHARED_LIBRARY=1 broken?
Óscar Fuentes
ofv at wanadoo.es
Tue Mar 2 14:26:28 PST 2010
James Williams <junk at giantblob.com> writes:
> I don't actually need opt dynamically linked but I do want shared
> libraries.
The cmake build should work:
http://www.llvm.org/docs/CMake.html
BUILD_SHARED_LIBS:BOOL
Flag indicating is shared libraries will be built. Its default value
is OFF. Shared libraries are not supported on Windows and not
recommended in the other OSes.
The "not recommended" part is, IIRC, due to the overhead that dynamic
libraries introduce on startup, which is very noticeable when you are
executing a short process lots of times (i.e. a test suite)
More information about the llvm-dev
mailing list