simplejpeg: add build-simplejpeg.yml for riscv64 wheels - #1446
Merged
Conversation
Mirrors upstream's cibuildwheel-driven wheel build, narrowed to Linux riscv64. Patches setup.py to stop forcing REQUIRE_SIMD when building the vendored libjpeg-turbo, since libjpeg-turbo ships no riscv64 SIMD kernels and the option's own default already falls back to a portable build.
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.
simplejpeg1.9.0Cython binding around a vendored, statically-linked libjpeg-turbo for fast JPEG encode/decode. Upstream publishes no riscv64 wheel.
Mirrors upstream's
build_wheels.yml.Differs from upstream
setup.pyto dropREQUIRE_SIMDon riscv64 - libjpeg-turbo ships no riscv64 SIMD kernels, so the forced flag turns the graceful fallback into a hard cmake failure.nasmbefore-all - only needed to assemble the x86 SIMD kernels this port disables.Testing
License: Statically links libjpeg-turbo (IJG/BSD-3-Clause-ish, via its own LICENSE.md); upstream's setup.py fetches the source but ships no licence text for it, so the build adds one.
Patches
0001-setup.py-dont-require-SIMD-on-riscv64.patch- Inappropriate. Without it, cmake configure hard-fails on riscv64; reproduces on riscv64 only.Built on cp312/cp313/cp314; CI pending.