[Mlir-commits] [llvm] [mlir] [mlir python] Add nanobind support for standalone dialects. (PR #117922)

Stella Laurenzo llvmlistbot at llvm.org
Wed Nov 27 13:19:24 PST 2024


https://github.com/stellaraccident commented:

If history is a guide, this may be challenging to land because of build bot deps needing to be updated. Will see what the bots say about that.

One practical thing: every time we touch MLIRDetectPythonEnv, it causes a lot of pain and suffering downstream, and this is going to be another dep change/expansion that will trigger that. I think the way out in those cases may just be to add a CMake option to have MLIR inherit the python configuration from a super-project vs trying to probe and configure everything itself. Then such projects can set that option and just do it themselves vs fighting with MLIR over how to do the detection.

I'm going to fiddle with this now as it has been on the agenda for a long time.

https://github.com/llvm/llvm-project/pull/117922


More information about the Mlir-commits mailing list