[LLVMdev] Windows Installer

Rafael Auler rafaelauler at gmail.com
Mon Sep 29 12:38:28 PDT 2014


I was not necessarily asking you to build, but just to check your
installation folder and see whether you have "tools/msbuild/install.bat"
there because I don't know if the Windows installer puts this there.
However, if you want to build outside VS, I recommend mingw-w64. If you
have any difficulties about the VS build process though, feel free to ask
questions :-)

Usually, to build LLVM on a Windows system from scratch (with VS
installed), I would just install git for windows, which already installs a
lot of important GNU tools, and ask to put everything in my path. Then I
would install CMake and put this in my path. Afterwards, open a shell with
VS paths, create a build folder, run CMake -G"Visual Studio
...<yourversion>" and then "msbuild <name of project>". A lot of people
prefer to use ninja instead of msbuild, though, but you must install ninja
and use CMake -GNinja instead.

On Mon, Sep 29, 2014 at 4:29 PM, Eric Mader <emader at gmx.us> wrote:

>  I was hoping to not have to build LLVM myself, especially on Windows. Can
> anybody help me with the Windows installer?
>
> Failing that, I find the directions for how to compile on Windows hard to
> follow? Can I build using Cygwin?
>
> Regards,
> Eric
>
>
> On 9/29/14, 8:11 AM, Rafael Auler wrote:
>
> I'm not sure about the Windows installer, but if you build and install
> LLVM for Windows from the source code, you should be able to go to the
> installation folder, find a subfolder named "tools/msbuild" and run the
> "install.bat" script. This should make your LLVM toolset appear in VS.
>
> On Mon, Sep 29, 2014 at 2:52 PM, Eric Mader <emader at gmx.us> wrote:
>
>> I’m trying to install LLVM-3.6.0-r218288-win32.exe on Windows 7 Ultimate
>> x64. The install doesn’t complain, but the toolset doesn’t show up in
>> either Visual Studio 2013 or Visual Studio 2010. Also I selected the
>> choices to add LLVM to the path for every user and put an LLVM icon on the
>> desktop. Neither of this happened. Can anyone tell me how to get this to
>> work?
>>
>> Regards,
>> Eric Mader
>> _______________________________________________
>> LLVM Developers mailing list
>> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140929/6a0cbb9c/attachment.html>


More information about the llvm-dev mailing list