fix: let auditwheel auto-detect manylinux platform tag
- Remove --plat manylinux2014_x86_64 flag that was causing build failures - Let auditwheel automatically determine the appropriate manylinux tag - Add auditwheel show command to display compatibility info - This fixes the 'too-recent versioned symbols' error
This commit is contained in:
14
.github/workflows/build-reusable.yml
vendored
14
.github/workflows/build-reusable.yml
vendored
@@ -112,19 +112,25 @@ jobs:
|
|||||||
- name: Repair wheels (Linux)
|
- name: Repair wheels (Linux)
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
run: |
|
run: |
|
||||||
# Repair HNSW wheel - use manylinux2014 for better compatibility
|
# Repair HNSW wheel
|
||||||
cd packages/leann-backend-hnsw
|
cd packages/leann-backend-hnsw
|
||||||
if [ -d dist ]; then
|
if [ -d dist ]; then
|
||||||
auditwheel repair dist/*.whl -w dist_repaired --plat manylinux2014_x86_64
|
# Show what platform auditwheel will use
|
||||||
|
auditwheel show dist/*.whl || true
|
||||||
|
# Let auditwheel auto-detect the appropriate manylinux tag
|
||||||
|
auditwheel repair dist/*.whl -w dist_repaired
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
mv dist_repaired dist
|
mv dist_repaired dist
|
||||||
fi
|
fi
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
# Repair DiskANN wheel - use manylinux2014 for better compatibility
|
# Repair DiskANN wheel
|
||||||
cd packages/leann-backend-diskann
|
cd packages/leann-backend-diskann
|
||||||
if [ -d dist ]; then
|
if [ -d dist ]; then
|
||||||
auditwheel repair dist/*.whl -w dist_repaired --plat manylinux2014_x86_64
|
# Show what platform auditwheel will use
|
||||||
|
auditwheel show dist/*.whl || true
|
||||||
|
# Let auditwheel auto-detect the appropriate manylinux tag
|
||||||
|
auditwheel repair dist/*.whl -w dist_repaired
|
||||||
rm -rf dist
|
rm -rf dist
|
||||||
mv dist_repaired dist
|
mv dist_repaired dist
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user