Goal: built mlir-opt through emscripten to run it interactively from documentation websites.
References:
- Install
emsdk
: https://emscripten.org/docs/getting_started/downloads.html - Read https://emscripten.org/docs/compiling/Building-Projects.html
- LLVM cross compilation: https://llvm.org/docs/HowToCrossCompileLLVM.html
- LLVM CMake options: https://llvm.org/docs/CMake.html
Notes: