Tvm on Windows with the autotune of x86_cpu

It is said that on windows it needs to build llvm from source using MSVC. In this case, g++ is still needed?
Clang source code and compiler-rtsource code needs to be installed in addition to LLVM source code?

Building LLVM from source:

mkdir mybuilddir
cd mybuilddir
cmake …
cmake --build .
cmake --build . --target install

Using above can successfully build the llvm on windows?

or just git clone --config core.autocrlf=false https://github.com/llvm/llvm-project.git on windows
and then
Configure and build LLVM and Clang:.

  • cd llvm-project
  • mkdir build
  • cd build
  • cmake -G <generator> [options] ../llvm

Thanks a lot!