mlir-cpu-runner has a dependency on ExecutionEngine which is only built for the native arch. So currently mlir-cpu-runner does not link correctly when the native arch is not targeted.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
mlir/tools/CMakeLists.txt | ||
---|---|---|
12 | Should we detect the MLIRExecutionEngine target here instead? |
mlir/tools/CMakeLists.txt | ||
---|---|---|
12 | We could. All the other parts of the project, such as the tests, pivot on the arch being present, so I made this check consistent, but either way makes sense. I would be tempted to change all the ones that use ExecutionEngine to check for the target if we made the change here. |
mlir/tools/CMakeLists.txt | ||
---|---|---|
12 | I guess either way is fine. |
Should we detect the MLIRExecutionEngine target here instead?