[llvm-dev] Building llvm and clang sources

Sudhindra kulkarni via llvm-dev llvm-dev at lists.llvm.org
Sun Jun 16 03:17:21 PDT 2019

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>

More information about the llvm-dev mailing list