How to install or compile the TVM on Windows with CPU?

My computer only has CPU without independent GPU, and based on Windows system.

So I am wandering if there is any introduction on how to compile and install TVM on Windows system with CPU? For example, compile the TVM with LLVM or Visual C++?


My unofficial guide here may be helpful to you. I’d view it more as a “hints” doc than a fully exhaustive guide.

If you don’t plan on doing any autotvm, you can skip using my custom fork as TVM supports Windows with most of its functionality.