[all-commits] [llvm/llvm-project] ef68a5: [MLIR] [Python] Added plumbing to run stubgen on t...

Sergei Lebedev via All-commits all-commits at lists.llvm.org
Mon Feb 9 04:29:52 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ef68a53139626bf4067889016f82a8fa945fac61
      https://github.com/llvm/llvm-project/commit/ef68a53139626bf4067889016f82a8fa945fac61
  Author: Sergei Lebedev <185856+superbobry at users.noreply.github.com>
  Date:   2026-02-09 (Mon, 09 Feb 2026)

  Changed paths:
    M utils/bazel/MODULE.bazel.lock
    M utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
    M utils/bazel/llvm-project-overlay/mlir/build_defs.bzl
    A utils/bazel/llvm-project-overlay/mlir/stubgen_runner.py
    M utils/bazel/third_party_build/nanobind.BUILD

  Log Message:
  -----------
  [MLIR] [Python] Added plumbing to run stubgen on the mlir._mlir package (#179211)

This allows generating stubs during Bazel builds, which was previously
only supported under CMake.

I decided not to use nanobind_stubgen from nanobind-bazel, because the
py_binary it generates is not easily usable in a genrule.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list