[cfe-dev] Compiler-rt builtins cmake install fails with Visual Studio
Shi, Steven via cfe-dev
cfe-dev at lists.llvm.org
Mon Jan 21 01:08:11 PST 2019
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190121/6b53aff3/attachment.html>
More information about the cfe-dev
mailing list