[Mlir-commits] [mlir] [mlir][CMake] enable disabling MLIR_ENABLE_EXECUTION_ENGINE (PR #171060)
Maksim Levental
llvmlistbot at llvm.org
Sun Dec 7 15:48:19 PST 2025
makslevental wrote:
> Can you clarify why we want this as an option?
Because you can't always build (or even use) the ExecutionEngine? E.g., on wasm32-emscripten nothing will work (not our ABI which uses `int64_t` everywhere, nor OrcJIT). So at best it's added compile cost (for such a target) for no benefit, and at worst it prevents building - I found this due hitting
```
em++: error: undefined exported symbol: "_LLVMAddSymbol" [-Wundefined] [-Werror]
```
when linking `mlir_runner_utils` and `mlir_c_runner_utils`.
https://github.com/llvm/llvm-project/pull/171060
More information about the Mlir-commits
mailing list