"git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "297a1e2e4d3bb7c41624899b8eeb4df83aa2ca18"
Unverified Commit 2bc45bc3 authored by Yichen Yan's avatar Yichen Yan Committed by GitHub
Browse files

[Build] Explicitly add `libtvm` as a dep of `libtilelang` (#1215)

parent d5fda276
......@@ -169,12 +169,8 @@ target_include_directories(tilelang_objs PRIVATE ${TILE_LANG_INCLUDES})
add_library(tilelang SHARED $<TARGET_OBJECTS:tilelang_objs>)
add_library(tilelang_module SHARED $<TARGET_OBJECTS:tilelang_objs>)
target_link_libraries(tilelang PUBLIC tvm_runtime)
target_link_libraries(tilelang PUBLIC tvm_runtime tvm)
target_link_libraries(tilelang_module PUBLIC tvm)
if(APPLE)
# FIXME: libtilelang should only link against tvm runtime
target_link_libraries(tilelang PUBLIC tvm)
endif()
# Build cython extension
find_package(Python REQUIRED COMPONENTS Interpreter Development.Module ${SKBUILD_SABI_COMPONENT})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment