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

Duncan Sands baldrick at free.fr
Tue Jan 22 04:15:37 PST 2013


Hi David,

On 22/01/13 13:12, David Chisnall wrote:
> 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.

can you please post your project's cmake stuff somewhere, it could be helpful
for cmake weenies like me.

> David
>
> P.S. Weren't we planning on removing the Make-based build system in the next few months a year ago?

Yup, and I opened a bunch of bug reports for missing cmake features at that time
(eg: expensive checks) but I don't think anything happened.

Ciao, Duncan.




More information about the llvm-dev mailing list