[LLVMdev] [RFC] Improving the testing of exported LLVM CMake targets

Brad King brad.king at kitware.com
Mon Jun 29 08:37:21 PDT 2015


On 06/29/2015 11:30 AM, Dan Liew wrote:
> I'll try to write a patch for the autoconf/Makefile build system.

Great.  Please Cc me on proposed patches.

> order to avoid breaking the installed CMake files. The toy project
> that I mentioned in the original e-mail would be useful here because
> it would let the packagers test their package with minimal effort.
> 
> The other points that I mention in the original e-mail (broken binary
> builds, the need for more testing, etc.) still stand though.

Yes, certainly the LLVM packaging and distribution process could use
infrastructure to test building applications against the (relocated)
packages.

One thing that may help a little bit is Debian may soon be packaging
my application that uses CMake to build against LLVM/Clang:

 https://github.com/CastXML/CastXML
 http://public.kitware.com/pipermail/castxml/2015-June/000011.html

Packaging of the tool may fail if Debian's LLVM package does not
provide the CMake files correctly, so that will provide some coverage.

Thanks,
-Brad




More information about the llvm-dev mailing list