Mikael Lyngvig
2012-May-28 16:19 UTC
[LLVMdev] Make install drops 64-bit LLVM in Windows x86 program folder
Hi, I just did a "make install" on Win7x64 using Mingw64 and it dropped off the files in "C:\Program Files (x86)\LLVM". That's almost right, but nicer would be if the 64-bit build was dropped off in "C:\Program Files\LLVM". I am fairly confident that it is me who is doing something wrong because I simply do this: (retrieve trunk version of LLVM, Clang, etc.) (ask CMake to create Makefiles in other directory) make install So, the way I see it, the build system has no real way of knowing that it is doing a 64-bit build. It probably assumes it is doing a 32-bit build because I have not explicitly told it that we're talking a 64-bit build. Ahh, the docs revealed that I could use --prefix. But I guess this should be determined automatically somehow? Or am I guessing wrong. The install location is as follows: Win32: Mingw32: %SYSTEMDRIVE%\Program Files\LLVM Mingw64: N/A Win64: Mingw32: %SYSTEMDRIVE%\Program Files (x86)\LLVM Mingw64: %SYSTEMDRIVE%\Program Files\LLVM Or, that's how I perceive the optimal way to be. Cheers, Mikael -- Love Thy Frog! -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120528/7fbc8829/attachment.html>
Óscar Fuentes
2012-May-28 16:58 UTC
[LLVMdev] Make install drops 64-bit LLVM in Windows x86 program folder
Mikael Lyngvig <mikael at lyngvig.org> writes:> I just did a "make install" on Win7x64 using Mingw64 and it dropped off the > files in "C:\Program Files (x86)\LLVM". That's almost right, but nicer > would be if the 64-bit build was dropped off in "C:\Program Files\LLVM". > > I am fairly confident that it is me who is doing something wrong because I > simply do this: > > (retrieve trunk version of LLVM, Clang, etc.) > (ask CMake to create Makefiles in other directory) > make install > > So, the way I see it, the build system has no real way of knowing that it > is doing a 64-bit build. It probably assumes it is doing a 32-bit build > because I have not explicitly told it that we're talking a 64-bit build.The build generator system (cmake) knows perfectly well that you are doing a 64 bit build.> Ahh, the docs revealed that I could use --prefix. But I guess this should > be determined automatically somehow? Or am I guessing wrong. The install > location is as follows: > > Win32: > Mingw32: > %SYSTEMDRIVE%\Program Files\LLVM > Mingw64: > N/A > Win64: > Mingw32: > %SYSTEMDRIVE%\Program Files (x86)\LLVM > Mingw64: > %SYSTEMDRIVE%\Program Files\LLVM > > Or, that's how I perceive the optimal way to be.Agreed. This is possibly an oversight on cmake itself, not in the LLVM cmake scripts, but in any case please file a bug report on the LLVM bug tracker. Issues submitted to the mailing list tend to be forgotten. Be sure to mention the cmake version you are using and the exact commands you executed to build and install LLVM/Clang.
Maybe Matching Threads
- [LLVMdev] liblibclang.dll?
- [LLVMdev] Minor correction to the Visual Studio documentation/Windows support in general
- [LLVMdev] Linking clang.exe takes more than two hours?
- [LLVMdev] Minor correction to the Visual Studio documentation/Windows support in general
- [LLVMdev] RFC: "Building with MinGW on Windows" (DOC, 2ND TRY)