Building and debugging MLIR examples for educational purposes.
To start containers run:
docker compose up -d
To attach to the dev container:
docker exec -it grok-mlir-toy-dev-1 /bin/bash
To stop containers:
docker compose down
The compile_commands.json
file is used to help LSP servers understand
compiler and source file information. Because this file is created in a
containerized environment, it may not work for your LSP server that runs
locally on your server. To resolve this, run this hacky script:
./scripts/fix_compile_commands