[cfe-dev] Building libclang.so rel3.1

Miguel Guedes miguel.a.guedes at gmail.com
Thu Nov 8 08:21:34 PST 2012

Hello List,

I was experiencing lots of segfaults/crashes with libclang's 
code-completion feature (version 3.0-6ubuntu3) and so decided to upgrade 
to the latest stable release, 3.1.

Just built LLVM and Clang with Cmake and realised it doesn't build 
libclang.so; had a look in 
./llvm/tools/clang/tools/libclang/CMakeLists.txt and couldn't find any 
flag/Cmake option that might prevent libclang from being built; also had 
a look in the global ./llvm/CMakeLists.txt file and couldn't find 
anything relevant either.

Built LLVM/Clang like so:

~/prj/llvm$ cmake -D CMAKE_BUILD_TYPE=RELEASE /usr/src/llvm -D 
LLVM_BUILD_EXAMPLES=ON /usr/src/llvm && make

What am I missing?


More information about the cfe-dev mailing list