LLVM installation fail


i’m trying to install llvm using cmake on windows
here are the steps i took:

  • installed cmake from: https://cmake.org/download/#latest

  • cloned the llvm project from git using git clone [https://github.com/llvm/llvm-project.git](https://github.com/llvm/llvm-project.git)

  • installed choco through admin powershell

  • installed ninja by running choco install ninja in powershell

note: i have qt-creator on my system

  • added C:\ProgramData\chocolatey\bin and C:\Qt\Tools\mingw810_64 to environment variable

  • checked out to llvmorg-11.0.1 using git checkout llvmorg-11.0.1 in the directory i keep all my git projects

  • then tried to build using cmake --build build -j 8 ninja check-all
    the build failed, tried again with subsequent fails. here’s the pastebin to the complete log: https://pastebin.com/Pk83KNWG
    i’d appreciate any hint or help
    thanks in advance


I don't know to what extent libcxxabi is supported on Windows, usually
you would only use the native Win32 ABI, even when compiling with
clang or mingw. Try LLVM_ENABLE_PROJECTS="clang" instead.