python-soundfile icon indicating copy to clipboard operation
python-soundfile copied to clipboard

Update build_wheels.py for aarch64 support

Open esnvidia opened this issue 1 year ago • 8 comments
trafficstars

The attached file here fixes an issue using HuggingFace datasets requiring soundfile on aarch64.

I compiled on this branch (bastibe/aarchh64-build) using linux_build.sh on Grace Hopper, which requires aarch64. This generated libsndfile.so which I renamed to libsndfile_aarch64.so to match the others

Then, in this line I added 'aarch64' and built the whl as suggested python setup.py bdist_wheel followed by installing the whl with pip install dist/soundfile-0.12.1-py2.py3-none-manylinux_2_17_aarch64.whl

This file should just be added to the repo along with the others.

esnvidia avatar Aug 22 '24 18:08 esnvidia