[cfe-dev] Building clang outside of LLVM (with CMake)

arrowdodger 6yearold at gmail.com
Wed Feb 2 03:40:03 PST 2011

On Wed, Feb 2, 2011 at 6:29 AM, Óscar Fuentes <ofv at wanadoo.es> wrote:

> Some time ago Doug mentioned that it would be useful to build clang
> outside of LLVM: basically LLVM acts as an external library which is
> used by clang.
I just was about to propose this myself.

IIRC Doug mentioned something about build times, and indeed clang takes
> about 4 minutes to build alone and almost 10 minutes to build within
> LLVM, so if the goal is to quickly build clang multiple times with the
> same LLVM base then it is a must-have feature.
I'm not sure, but if someone wish to only recompile clang, can't he do
cd cmake_build_dir/tools/clang && make?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110202/c9a2c092/attachment.html>

More information about the cfe-dev mailing list