Skip to content

decord: add build-decord.yml for riscv64 wheels - #1736

Merged
luhenry merged 1 commit into
mainfrom
decord
Sep 12, 2026
Merged

luhenry merged 1 commit into
mainfrom
decord

Conversation

@luhenry

@luhenry luhenry commented Sep 10, 2026

Copy link
Copy Markdown
Member

Compiles libdecord.so, a ctypes-loaded video/audio decoder built against FFmpeg, then packages it as a py3-none wheel. Upstream publishes no riscv64 wheel.

Mirrors upstream's pypi.yml manylinux job and tools/build_manylinux2010.sh.

Differs from upstream

  • FFmpeg 6.1.6 built without --enable-gpl/--enable-nonfree/libx264/libvpx - decord only ever decodes
  • FFmpeg 6.1.6, not upstream's 4.1.6 - the first FFmpeg release with riscv64 support
  • Wheel retagged py3-none via wheel tags after building, matching upstream's own hand-renamed tag

Testing

  • same as upstream (tests/python/unittests/test_video_reader.py)

License: Wheel bundles LGPL-2.1+ FFmpeg shared libraries; upstream ships no licence text for them, so the build adds one.

Built on cp312.

luhenry added a commit that referenced this pull request Sep 10, 2026
@luhenry
luhenry force-pushed the decord branch 4 times, most recently from e3f9289 to f91ebf5 Compare September 12, 2026 07:34
@luhenry
luhenry merged commit ff329d3 into main Sep 12, 2026
6 checks passed
@luhenry
luhenry deleted the decord branch September 12, 2026 19:33
@luhenry luhenry linked an issue Sep 13, 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.

decord riscv64 support

1 participant