Sudhindra kulkarni via llvm-dev
2019-Jun-16 10:17 UTC
[llvm-dev] Building llvm and clang sources
Hello Team, I was successfully able to run cmake on llvm and clang sources using visual studio as the generator and then I used the visual studio solution to successfully build the executables. Where as when I run cmake using the "mingw makefiles" as the generator the make file gets generated successfully ,but building of the executables fails when mingw32-make is run on the generated make file.For some versions of mingw(5.1) it results in compilation errors and for some versions (8.2) it stops while trying to link LTO.dll. So I would like to know if it is possible to run cmake and build the executables using a non visual studio generator. If yes which all generators are supported? If no do llvm/clang sources internally have dependencies on the visual studio generator? Thanks in advance. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190616/e268423a/attachment.html>
Michael Kruse via llvm-dev
2019-Jun-17 15:34 UTC
[llvm-dev] Building llvm and clang sources
Did you try the 'Ninja' generator. That might help if the issue is with 'mingw32-make'. Generally, it would be useful if you showed what the error message was. Michael Am So., 16. Juni 2019 um 05:17 Uhr schrieb Sudhindra kulkarni via llvm-dev <llvm-dev at lists.llvm.org>:> > Hello Team, > I was successfully able to run cmake on llvm and clang sources using visual studio as the generator and then I used the visual studio solution to successfully build the executables. > > Where as when I run cmake using the "mingw makefiles" as the generator the make file gets generated successfully ,but building of the executables fails when mingw32-make is run on the generated make file.For some versions of mingw(5.1) it results in compilation errors and for some versions (8.2) it stops while trying to link LTO.dll. > > So I would like to know if it is possible to run cmake and build the executables using a non visual studio generator. > If yes which all generators are supported? > If no do llvm/clang sources internally have dependencies on the visual studio generator? > > Thanks in advance. > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev