[all-commits] [llvm/llvm-project] f6ded0: [MLIR][Python] don't generate type stubs when cros...

Maksim Levental via All-commits all-commits at lists.llvm.org
Thu Sep 25 16:59:34 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f6ded0be897e2878612dd903f7e8bb85448269e5
      https://github.com/llvm/llvm-project/commit/f6ded0be897e2878612dd903f7e8bb85448269e5
  Author: Maksim Levental <maksim.levental at gmail.com>
  Date:   2025-09-25 (Thu, 25 Sep 2025)

  Changed paths:
    M mlir/examples/standalone/python/CMakeLists.txt
    M mlir/python/CMakeLists.txt

  Log Message:
  -----------
  [MLIR][Python] don't generate type stubs when cross-compiling (#160793)

Stubgen doesn't work when cross-compiling (stubgen will run in the host
interpreter and then fail to find the extension module for the host
arch). So disable it when `CMAKE_CROSSCOMPILING=ON`.



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