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

Stephen Kelly steveire at gmail.com
Sun Feb 2 06:24:49 PST 2014


On 02/02/2014 03:02 PM, Dmitri Gribenko wrote:
> On Sun, Feb 2, 2014 at 8:09 AM, Stephen Kelly <steveire at gmail.com> wrote:
>> Hello,
>>
>> I work on CMake upstream. I'd like to find out in what ways CMake upstream
>> does not fit the needs of llvm/clang, and then fill those gaps. The recent
>> update of the minimum version to CMake 2.8.8 is a good start. Before being
>> able to assess what is missing, it should be ensured that the current
>> codebase is as modern as the minimum version allows, and it needs to be
>> cleaned up.
> Hi Stephen,
>
> There is an ongoing discussion about compiler-rt where it was
> mentioned that with CMake it is hard to use the just-built compiler to
> build the runtime libraries:
>
> http://permalink.gmane.org/gmane.comp.compilers.llvm.devel/69951

I added a link to

 http://public.kitware.com/Bug/view.php?id=14539

implementing that would be the CMake answer to:

Alexey Samsonov wrote:

> But if we want more functionality,

> like running the tests, we ought to have a single build system, single set

> of "targets" (binaries, libraries, test suites) with dependencies between

> them.


What the Makefile system already does is already possible using CMake
ExternalProject.

Alexey Samsonov wrote:

> Well, LLVM/Clang's configure+make and compiler-rt's make are disjoint -

> when you run "make" in Clang build tree, at one point it simply invokes,

> the Makefile in compiler-rt directory.



However,

I wrote that I recommend cleaning up the cmake files first, which is why
I listed several cleanups. Let's focus on that first.

Thanks,

Steve.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140202/1134b0e8/attachment.html>


More information about the llvm-dev mailing list