MLIR backend is not yet integrated into Numba build process
- Follow usual numba build instructions (using release llvm)
- Install pybind11
- Build llvm from specific commit required for the backend (numba/mlir-compiler/llvm-sha.txt)
- Build backend using cmake (numba/mlir-compiler/CMakeLists.txt) using compiled llvm
- Add dir with compiled backend to PYTHONPATH
python runtests.py numba.mlir.tests
NUMBA_MLIR_ENABLE=1- enable/diasable MLIR backed (default - 1)NUMBA_MLIR_PRINT_IR=1- dump MLIR IR to stdout before and after each pass (default - 0)