Using a Python script instead of the various shell commands means that it is now possible to cross compile LLVM for Linux on Windows. Differential Revision: https://reviews.llvm.org/D136092
See docs/CMake.html for instructions on how to build LLVM with CMake.