tilelang icon indicating copy to clipboard operation
tilelang copied to clipboard

[Bug][Build][TVM] Build issue in Darwin aarch64

Open oraluben opened this issue 4 months ago • 1 comments

Currently building tilelang on Darwin requires extra workaround for TVM:

  1. libtvm needs to be linked to libtilelang, which seems wrong, as libtilelang is supposed to work with libtvm_runtime only.: https://github.com/tile-ai/tilelang/blob/7a5077e4aa8e30533b6fe1f0716b2c28cf6f661b/CMakeLists.txt#L126-L129
  2. When building with cibuildwheel, libbacktrace will be built for x86_64, and python -mbuild -w seems fine. https://github.com/tile-ai/tilelang/blob/0f515b86fc752cf5a9fd65ae9a46e8f229a84226/CMakeLists.txt#L78-L79

Maybe cc @Hzfengsy ?

oraluben avatar Oct 14 '25 03:10 oraluben

I wonder why runtime is enough, as tilelang reuses TVM's compiation and codegen utils.

Hzfengsy avatar Oct 14 '25 06:10 Hzfengsy

can we close this issue now? @oraluben

LeiWang1999 avatar Nov 09 '25 20:11 LeiWang1999