Open Quuxplusone opened 4 years ago
Attached cmake_triple_log.txt
(7405 bytes, text/plain): My build log
I have compressed my build folder - you can get the file here https://drive.google.com/file/d/1VHTF31TEF5PE81PoE4uQToAsIUYwyEV-/view?usp=sharing
The only way to get the warning message is to:
- be on Windows
- have neither MINGW nor MSVC be true
LLVM generally expects to be compiled in either one of these environments,
because it has to get the C library from somewhere, and that is typically
provided by either mingw or MSVC.
If you are using MSVC libraries and the Windows SDK, then you can switch to the
clang-cl driver and things will work. Use -DCMAKE_C_COMPILER=C:/Program
Files/LLVM/bin/clang-cl.exe.
While the gcc-style driver can be used in combination with the MSVC CRT, it is
difficult to use clang.exe with cmake, because there are many places where the
MSVC conditional is used to guard both 1. cl.exe-style compiler flags and 2.
things related to library support. Untangling the MSVC boolean into separate
flags for the command line flag syntax and the library environment would be
challenging.
cmake_triple_log.txt
(7405 bytes, text/plain)