[LLVMdev] Using 'llvm-build' for out-of-tree projects

Jean-Daniel Dupas devlists at shadowlab.org
Tue Jan 22 07:58:39 PST 2013

Le 22 janv. 2013 à 13:12, David Chisnall <david.chisnall at cl.cam.ac.uk> a écrit :

> On 22 Jan 2013, at 12:04, Duncan Sands wrote:
>> for an out-of-tree build you can use llvm-config to get include paths and so on.
>> I don't think there is any point bothering with llvm-build for this case.
> CMake works nicely for out-of-tree projects.  I have an optimiser plugin that builds this way.  I'm not sure if it's fixed now, but the autoconf builds used to not install the CMake plugins, which was a problem if packagers decided to use autoconf.
> David
> P.S. Weren't we planning on removing the Make-based build system in the next few months a year ago?

It always lacks some important features, like building compiler-rt with just-built clang: http://llvm.org/bugs/show_bug.cgi?id=14109

-- Jean-Daniel

More information about the llvm-dev mailing list