[LLVMdev] Some CMake issues (Are you being served?)

Brad King brad.king at kitware.com
Mon Feb 3 13:42:20 PST 2014


On 02/03/2014 03:35 PM, Greg Fitzgerald wrote:
> how should a build compose both clang and llvm?

For packagers the separate build could be handled by their dependency
system.  For developers or users building locally one could use the
CMake ExternalProject module:

 http://www.cmake.org/cmake/help/v2.8.12/cmake.html#module:ExternalProject

to create a "superbuild" project that builds LLVM and then builds
Clang against that LLVM.

This will all be much easier when the patches I proposed here:

 http://thread.gmane.org/gmane.comp.compilers.llvm.cvs/173517

are integrated.

-Brad




More information about the llvm-dev mailing list