Repository navigation
Conversation
Adds a cibuildwheel-based riscv64 build for vapoursynth R81 (meson-python, Cython), mirroring the linux leg of upstream's own build.yml. Upstream's meson.build already has explicit riscv64 handling (VS_TARGET_CPU_RISCV, x86/arm SIMD paths disabled off that arch), so nothing riscv-specific needed patching there. Splits into a cp312-abi3 build (meson-python's limited-api) and a separate cp314t free-threaded build, following the same shape as build-bcrypt.yml. Includes a licensing patch widening the explicit license-files list to cover the four statically-linked meson-wrap subprojects (glslang, Vulkan-Headers, libp2p, zimg), whose notices the workflow stages from their own upstream repos. Signed-off-by: Ludovic Henry <git@ludovic.dev>
luhenry
marked this pull request as draft
October 16, 2026 00:02
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
vapoursynth81Compiles the VapourSynth frameserver core (meson-python + Cython), a native video-processing/filtering library used in transcoding pipelines, distinct from the already-published av/decord/pyav bindings. Upstream publishes no riscv64 wheel.
Mirrors the
linux_x86_64/linux_aarch64legs of upstream'sbuild.yml, narrowed to the riscv64 image. meson.build already special-casesriscv(disables x86/ARM SIMD paths, definesVS_TARGET_CPU_RISCV), so nothing riscv-specific needed patching there.Differs from upstream
cp312-abi3build plus a separatecp314tbuild (meson-python's own override disables limited-api for free-threaded); upstream's build list namescp315t, absent from the riscv64 image, socp314tis substituted (gotcha 11 shape).Testing: same as upstream (
unittest discover), inherited from[tool.cibuildwheel.linux].License: four meson-wrap subprojects (glslang, Vulkan-Headers, libp2p, zimg) are statically linked but their licences aren't in the checkout; the patch widens the explicit
license-fileslist, and the workflow stages each from its own upstream repo (glslang/Vulkan-Headers pinned to the wrap's tag; libp2p/zimg's wraps pinrevision = HEAD, so those two come from the default branch, matching upstream's own lack of pinning).Patches
0001-Ship-the-statically-embedded-subprojects-licences-in.patch- To upstream. Adds the missing subproject licences; reproduces on any arch, not riscv64-specific.Built locally (x86_64): patch applies cleanly to a fresh R81 checkout; no cibuildwheel run (no docker/riscv64 available in this sandbox).