Xilinx / mlir-aie

An MLIR-based toolchain for AMD AI Engine-enabled devices.
Other
288 stars 82 forks source link

Print commit in --version output #1595

Closed andrej closed 3 months ago

andrej commented 3 months ago

We have had a number of people run into issues because they ran an older compiler with newer examples. Sometimes this happens in convoluted ways when a compiler executable is picked up from somewhere else in the PATH than the user may expect.

This adds a quick way to troubleshoot these issues by printing the commit hash at which the executable was built to the output of aiecc.py --version (new option), aie-opt --version and aie-translate --version.