[llvm-dev] RFC: Updating to CMake 3.15.0

David Greene via llvm-dev llvm-dev at lists.llvm.org
Fri Nov 8 12:49:18 PST 2019


Chris Bieneman <chris.bieneman at me.com> writes:

>> Are we sure that's true for the CMake config files installed with LLVM?
>
> The CMake files installed with LLVM can really be broken up into two categories.
>
> (1) The files required for CMake's `findPackage` function
> (2) The LLVM CMake modules shared for other projects use
>
> The later will almost certainly require whatever CMake version LLVM is
> requiring. The former should not.
>
> There are only two files that are required for the `findPackage`
> function. One is generated by CMake and sticks pretty tightly to old
> CMake language features. The other is `LLVM-Config.cmake` which we
> own. That file changes relatively infrequently, and it can go away if
> we kill off LLVMBuild. It also largely uses very old and stable CMake
> features and there is little reason to change that.
>
> Does that answer your question?

Yep, thanks!

                -David


More information about the llvm-dev mailing list