Skip to content

Commit

Permalink
fix auditwheel
Browse files Browse the repository at this point in the history
  • Loading branch information
isuruf committed Sep 29, 2024
1 parent e13e181 commit 71e699f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 3 additions & 3 deletions recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,13 @@ pushd python
if [[ "$target_platform" == linux-64 ]]; then
rm -rf $PREFIX/lib/libstdc++.*
rm -rf $PREFIX/lib/libgcc*
auditwheel repair dist/*.whl -w $PWD/fixed_wheels --plat manylinux2014_x86_64
$PYTHON -m auditwheel repair dist/*.whl -w $PWD/fixed_wheels --plat manylinux2014_x86_64
elif [[ "$target_platform" == linux-* ]]; then
rm -rf $PREFIX/lib/libstdc++.*
rm -rf $PREFIX/lib/libgcc*
auditwheel repair dist/*.whl -w $PWD/fixed_wheels --plat manylinux2014_$ARCH
$PYTHON -m auditwheel repair dist/*.whl -w $PWD/fixed_wheels --plat manylinux2014_$ARCH
else
python $(which delocate-wheel) -w fixed_wheels --sanitize-rpaths -v dist/*.whl
$PYTHON $(which delocate-wheel) -w fixed_wheels --sanitize-rpaths -v dist/*.whl
fi
popd

Expand Down
2 changes: 0 additions & 2 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@ requirements:
- python # [build_platform != target_platform]
- cross-python_{{ target_platform }} # [build_platform != target_platform]
- setuptools # [build_platform != target_platform]
- auditwheel # [linux]
- delocate # [win or osx]
- unzip # [unix]
- m2-unzip # [win]
- cython >=0.29.24
Expand Down

0 comments on commit 71e699f

Please sign in to comment.