慕冬亮 via llvm-dev
2015-Nov-30 03:52 UTC
[llvm-dev] difference with autotools, cmake and ninja building methods
When I see one book about llvm and choose the building method between autotools, cmake, and ninja building methods, I was confused. Is there any link about this content? Thanks for reply. -- My best regards to you. No System Is Safe! mudongliang
Chris Bieneman via llvm-dev
2015-Nov-30 04:58 UTC
[llvm-dev] difference with autotools, cmake and ninja building methods
The autotools build system is officially deprecated and will be removed in a future release. CMake is the recommended configuration system, but it is only a configuration system. It generates build files for multiple different build systems. One of the most popular build systems is Ninja. You cannot build LLVM with Ninja without using CMake, but CMake doesn’t require Ninja. You can use CMake to generate Makefiles as well as Xcode and Visual Studio projects, and more. This page has the LLVM project’s documentation on using CMake: http://llvm.org/docs/CMake.html <http://llvm.org/docs/CMake.html> -Chris> On Nov 29, 2015, at 7:52 PM, 慕冬亮 via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > When I see one book about llvm and choose the building method > between autotools, cmake, and ninja building methods, I was confused. > Is there any link about this content? > Thanks for reply. > > -- > My best regards to you. > > No System Is Safe! > mudongliang > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151129/d0c1de5e/attachment.html>
慕冬亮 via llvm-dev
2015-Nov-30 05:09 UTC
[llvm-dev] difference with autotools, cmake and ninja building methods
2015-11-30 12:58 GMT+08:00 Chris Bieneman <beanz at apple.com>:> The autotools build system is officially deprecated and will be removed in a > future release. > > CMake is the recommended configuration system, but it is only a > configuration system. It generates build files for multiple different build > systems. One of the most popular build systems is Ninja. You cannot build > LLVM with Ninja without using CMake, but CMake doesn’t require Ninja. You > can use CMake to generate Makefiles as well as Xcode and Visual Studio > projects, and more. >I often used cmake to compile llvm and clang. But I found a boring problem: when I update all the repositories - llvm,clang,compiler-rt and try to recompile, but I can't compile source code successfully and it takes me much time to recompile. Does anyone has advice about this problem?> This page has the LLVM project’s documentation on using CMake: > http://llvm.org/docs/CMake.html > > -Chris > > On Nov 29, 2015, at 7:52 PM, 慕冬亮 via llvm-dev <llvm-dev at lists.llvm.org> > wrote: > > When I see one book about llvm and choose the building method > between autotools, cmake, and ninja building methods, I was confused. > Is there any link about this content? > Thanks for reply. > > -- > My best regards to you. > > No System Is Safe! > mudongliang > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev > >-- My best regards to you. No System Is Safe! mudongliang