Compiler-rt builtins cmake install fails with Visual Studio

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Compiler-rt builtins cmake install fails with Visual Studio

David Blaikie via cfe-dev

Hi Alexey, Howard,

The compiler-rt builtins cmake fails to install with Visual Studio, and report cannot find clang_rt.builtins-i386.lib. Below is the my installation fail steps.

 

D:\Project\LLVM\build_VS17Debug>cmake ../llvm -G "Visual Studio 15 2017" -DLLVM_TARGETS_TO_BUILD="X86" -DCMAKE_VERBOSE_MAKEFILE=ON  -DCMAKE_BUILD_TYPE="Debug" -DLLVM_ENABLE_ASSERTIONS=ON -Thost=x64 -DLLVM_ENABLE_PROJECTS=lld  -DCMAKE_INSTALL_PREFIX=D:\llvm_install\

D:\Project\LLVM\build_VS17Debug>cmake --build . --config Debug --target INSTALL

… ...

130>CMake Error at projects/compiler-rt/lib/builtins/cmake_install.cmake:37 (file):

130>  file INSTALL cannot find

130>  "D:/Project/LLVM/build_VS17Debug/$(Configuration)/lib/clang/9.0.0/lib/windows/clang_rt.builtins-i386.lib".

130>Call Stack (most recent call first):

130>  projects/compiler-rt/lib/cmake_install.cmake:38 (include)

130>  projects/compiler-rt/cmake_install.cmake:38 (include)

130>  projects/cmake_install.cmake:37 (include)

130>  cmake_install.cmake:63 (include)

 

 

In fact, I’ve seen this problem for years. Do we have plan to fix it?

http://lists.llvm.org/pipermail/llvm-dev/2014-March/070894.html

http://llvm.1065342.n5.nabble.com/llvm-dev-Error-in-Windows-build-from-release-40-branch-td106624.html

 

 

Thanks

Steven


_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev