fix: disable Faiss Python bindings to avoid CMake Python finding issues
- Set FAISS_ENABLE_PYTHON to OFF since we use our own Cython bindings - This avoids the CMake Python finding issues in manylinux environments - Simplify CMakeLists.txt by removing unnecessary Python finding logic - Keep swig installation for other potential uses
This commit is contained in:
@@ -21,6 +21,8 @@ sdist.include = ["CMakeLists.txt", "src", "third_party", "leann_backend_hnsw/*.t
|
||||
cmake.args = ["-DCMAKE_BUILD_TYPE=Release"]
|
||||
# 确保 CMake 可以找到系统库
|
||||
cmake.verbose = true
|
||||
build-dir = "build/{cache_tag}"
|
||||
minimum-version = "build-system.requires"
|
||||
|
||||
# CMake definitions to optimize compilation
|
||||
[tool.scikit-build.cmake.define]
|
||||
|
||||
Reference in New Issue
Block a user