[llvm-dev] Building llvm and clang sources

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 17 08:34:34 PDT 2019

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.


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

More information about the llvm-dev mailing list