From e1e1b26068202611d2fd210ed04dcee1b0b5aa8b Mon Sep 17 00:00:00 2001 From: Ye Cao Date: Fri, 9 Aug 2024 15:04:04 +0800 Subject: [PATCH] Fix the symbol error when build the vineyard llm module. (#1981) Signed-off-by: Ye Cao --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index d73bcd8f6..c5d9710dd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1027,6 +1027,7 @@ if(BUILD_VINEYARD_PYTHON_BINDINGS AND BUILD_VINEYARD_LLM_CACHE) DEPENDS _llm_C COMMENT "Copying llm kv cache python extensions." VERBATIM) + set_target_properties(_llm_C PROPERTIES LINK_FLAGS "-Wl,--version-script=${LIBFABRIC_VERSION_SCRIPT}") add_dependencies(vineyard_llm_python vineyard_client_python) endif()