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:
@@ -84,6 +84,3 @@ before-all = "brew install boost zeromq openblas cmake libomp"
|
||||
# 环境变量配置
|
||||
[tool.cibuildwheel.environment]
|
||||
CMAKE_BUILD_PARALLEL_LEVEL = "8"
|
||||
|
||||
# 构建前安装必要的Python包
|
||||
before-build = "pip install numpy"
|
||||
|
||||
Reference in New Issue
Block a user