Skip to content

Commit f70a37a

Browse files
committed
[fix] modify cmake since xgrammar use nanobind to replace pybind
1 parent 6e37a0b commit f70a37a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

3rdparty/tvm

Submodule tvm updated 111 files

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ add_subdirectory(${TOKENZIER_CPP_PATH} tokenizers EXCLUDE_FROM_ALL)
7171
set(XGRAMMAR_PATH 3rdparty/xgrammar)
7272
tvm_file_glob(GLOB_RECURSE MLC_LLM_SRCS cpp/*.cc)
7373
tvm_file_glob(GLOB_RECURSE XGRAMMAR_SRCS ${XGRAMMAR_PATH}/cpp/*.cc)
74-
list(FILTER XGRAMMAR_SRCS EXCLUDE REGEX "${XGRAMMAR_PATH}/cpp/pybind/.*\\.cc")
74+
list(FILTER XGRAMMAR_SRCS EXCLUDE REGEX "${XGRAMMAR_PATH}/cpp/nanobind/.*\\.cc")
7575
list(APPEND MLC_LLM_SRCS ${XGRAMMAR_SRCS})
7676
add_library(mlc_llm_objs OBJECT ${MLC_LLM_SRCS})
7777

0 commit comments

Comments
 (0)