Skip to content

sphn: add build-sphn.yml for riscv64 wheels - #1399

Merged
luhenry merged 2 commits into
mainfrom
sphn
Sep 7, 2026
Merged

sphn: add build-sphn.yml for riscv64 wheels#1399
luhenry merged 2 commits into
mainfrom
sphn

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

PyO3/maturin bindings to the symphonia and opus crates, decoding/encoding audio files to and from numpy arrays. Upstream publishes no riscv64 wheel.

Mirrors upstream's CI.yml linux/sdist jobs.

Differs from upstream

  • CMAKE_POLICY_VERSION_MINIMUM=3.5 - riscv64's only PyPI cmake build-dep is 4.x, which rejects audiopus_sys's vendored libopus CMakeLists.txt.
  • Musllinux dropped - rustup ships no riscv64 musl host toolchain.

Testing

  • upstream ships no wheel test suite (its test/*.py scripts need an external mp3 fixture not in the sdist); added a synthetic-audio wav/opus round-trip and resample smoke test instead.

License: Statically links audiopus_sys's vendored libopus (BSD-3-Clause), not GPL; matches upstream's own published wheels.

luhenry added a commit that referenced this pull request Sep 7, 2026
@luhenry
luhenry merged commit 6c70100 into main Sep 7, 2026
10 checks passed
@luhenry
luhenry deleted the sphn branch September 7, 2026 17:50
@luhenry luhenry mentioned this pull request Sep 7, 2026
@luhenry luhenry linked an issue Sep 7, 2026 that may be closed by this pull request
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.

sphn riscv64 support

1 participant