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

Add files via upload #35

Open
wants to merge 2 commits into
base: bastibe/aarch64-build
Choose a base branch
from

Conversation

esnvidia
Copy link

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.

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
Copy link
Author

See also: bastibe/python-soundfile#441

@bastibe
Copy link
Owner

bastibe commented Aug 26, 2024

Thank you for the pull request. I would much prefer this to be added to the build scripts, so we can build it on the CI.

add aarch64 to CI.
@esnvidia
Copy link
Author

I updated the build-libs.yml but unsure if the arm runner is needed here: - uses: pguyot/[email protected] for aarch64. Although the README docs here (https://github.com/pguyot/arm-runner-action) suggest it could work for aarch64. I used the aarch64 version of Ubuntu 22.04 in my tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants