From ef15dcda2615b71d330189c094f0dbc89e0ffae6 Mon Sep 17 00:00:00 2001 From: Xiaoyu Zhang <35585791+BBuf@users.noreply.github.com> Date: Mon, 28 Apr 2025 12:34:27 +0800 Subject: [PATCH] Add a doc to fix sgl-kernel build link error in py39 with ccache (#5809) --- sgl-kernel/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sgl-kernel/README.md b/sgl-kernel/README.md index d3fefbc53..423394f36 100644 --- a/sgl-kernel/README.md +++ b/sgl-kernel/README.md @@ -156,6 +156,8 @@ unset CCACHE_READONLY python -m uv build --wheel -Cbuild-dir=build --color=always . ``` +> When encountering this error while compiling using ccache: `ImportError: /usr/local/lib/python3.10/dist-packages/sgl_kernel/common_ops.abi3.so: undefined symbol: _ZN3c108ListType3getERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_4Type24SingletonOrSharedTypePtrIS9_EE`, please modify the last command as follows to resolve it: `python3 -m uv build --wheel -Cbuild-dir=build . --color=always --no-build-isolation` . + ##### Configuring CMake Build Options Cmake options can be configuring by adding `-Ccmake.define.