Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update build_wheels.py for aarch64 support #441

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 22, 2024

  1. Update build_wheels.py

    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 ](https://github.com/bastibe/python-soundfile/blob/master/build_wheels.py#L6)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 authored Aug 22, 2024
    Configuration menu
    Copy the full SHA
    3de8572 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Update python-package.yml

    add aarch64 to architecture
    esnvidia authored Aug 27, 2024
    Configuration menu
    Copy the full SHA
    0b04ed0 View commit details
    Browse the repository at this point in the history