File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 22* .slo
33* .lo
44* .o
5+ * .so
56* .obj
67* .pyc
78
Original file line number Diff line number Diff line change @@ -164,7 +164,6 @@ if(NOT "${SKBUILD_SABI_VERSION}" STREQUAL "")
164164endif ()
165165
166166python_add_library(cython_wrapper MODULE "${CMAKE_BINARY_DIR} /cython_wrapper.cpp" ${USE_SABI} WITH_SOABI)
167- install (TARGETS cython_wrapper LIBRARY DESTINATION tilelang)
168167
169168# let libtilelang to search tvm/tvm_runtime in same dir
170169if (APPLE )
@@ -175,12 +174,13 @@ else()
175174 set_target_properties (tilelang_module PROPERTIES INSTALL_RPATH "\$ ORIGIN" )
176175endif ()
177176
178- install (TARGETS tvm tvm_runtime tilelang_module tilelang LIBRARY DESTINATION tilelang/lib)
177+ install (TARGETS cython_wrapper LIBRARY DESTINATION "${CMAKE_CURRENT_SOURCE_DIR} /tilelang" )
178+ install (TARGETS tvm tvm_runtime tilelang_module tilelang LIBRARY DESTINATION "${CMAKE_CURRENT_SOURCE_DIR} /tilelang/lib" )
179179
180180# Copy tvm cython ext for wheels
181181# TODO: not necessary for editable builds
182182if (TVM_BUILD_FROM_SOURCE)
183183 add_dependencies (tilelang tvm_cython)
184- install (FILES "${CMAKE_CURRENT_SOURCE_DIR} /3rdparty/tvm/python/tvm/ffi/core.abi3.so" DESTINATION tilelang/3rdparty/tvm/python/tvm/ffi/)
184+ # install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/3rdparty/tvm/python/tvm/ffi/core.abi3.so" DESTINATION tilelang/3rdparty/tvm/python/tvm/ffi/)
185185endif ()
186186
Original file line number Diff line number Diff line change @@ -56,6 +56,9 @@ build-backend = "scikit_build_core.build"
5656[tool .scikit-build ]
5757wheel.py-api = " cp38"
5858cmake.version = " >=3.26.1"
59+ build-dir = " build"
60+
61+ editable.rebuild = true
5962
6063# Include backend and git info in version
6164metadata.version.provider = " version_provider"
You can’t perform that action at this time.
0 commit comments