Skip to content

samplerate: add build-samplerate.yml for riscv64 wheels - #1193

Merged
luhenry merged 1 commit into
mainfrom
samplerate
Sep 7, 2026
Merged

samplerate: add build-samplerate.yml for riscv64 wheels#1193
luhenry merged 1 commit into
mainfrom
samplerate

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Compiles a pybind11 extension wrapping libsamplerate (fetched and statically linked via CMake FetchContent). Upstream publishes no riscv64 wheel.

Mirrors upstream's pythonpackage.yml.

Differs from upstream

  • Stages pybind11 and libsamplerate licences at the root - upstream's wheel ships neither for its FetchContent-vendored deps.

Matrix: cp39-cp314, upstream's own set; no cp314t - upstream doesn't build it either.

Testing

  • same as upstream

License: Wheel statically links libsamplerate (BSD-2-Clause) and compiles pybind11 (BSD-3-Clause) templates into the extension; upstream ships neither licence, so the build adds them.

Built on cp312; 134 passed.

Wraps libsamplerate via pybind11+CMake; pybind11 and libsamplerate are
fetched by CMake FetchContent at build time and statically linked in,
so their licences are staged at the checkout root for setuptools'
default LICEN[CS]E* glob to pick up.
luhenry added a commit that referenced this pull request Sep 6, 2026
@luhenry
luhenry merged commit 73fbbba into main Sep 7, 2026
11 checks passed
@luhenry
luhenry deleted the samplerate branch September 7, 2026 08:22
@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.

samplerate riscv64 support

1 participant