How to build PyTorch with a latest LLVM build?

Yes. I also encounter errors when use clang to compile both host and CUDA codes.