[cfe-dev] Building clang outside of LLVM (with CMake)
ofv at wanadoo.es
Tue Feb 1 19:29:06 PST 2011
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.
Just to be sure that I'm working on the right track, what's the
motivation for this requirement?
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.
More information about the cfe-dev