Skip to content

pikepdf: add build-pikepdf.yml for riscv64 wheels - #874

Closed
luhenry wants to merge 1 commit into
mainfrom
pikepdf
Closed

pikepdf: add build-pikepdf.yml for riscv64 wheels#874
luhenry wants to merge 1 commit into
mainfrom
pikepdf

Conversation

@luhenry

@luhenry luhenry commented Sep 3, 2026

Copy link
Copy Markdown
Member

Builds qpdf 12.3.2 from source (CMake, native crypto provider) then compiles pikepdf's nanobind/qpdf C++ extension against it. Upstream publishes no riscv64 wheel.

Mirrors upstream's build.yml (wheels_linux job).

Differs from upstream

  • Adds CIBW_MANYLINUX_RISCV64_IMAGE - upstream has no riscv64 image configured.
  • Repeats QPDF_MIN_VERSION/QPDF_VERSION/QPDF_PATTERN in CIBW_ENVIRONMENT - the env var replaces, not merges, upstream's [tool.cibuildwheel.environment] table.
  • Drops musllinux - no musllinux_riscv64 manylinux image exists.

Testing

  • same as upstream

License: OK

Built on cp312; wheel imports and the wheel's own pytest -nauto tests suite passes.

Downloads and builds qpdf 12.3.2 from source (CMake, native crypto) before
building pikepdf's nanobind extension, mirroring upstream's own before-all.
@luhenry

luhenry commented Sep 3, 2026

Copy link
Copy Markdown
Member Author

Reopening as a non-draft PR (opened as draft by mistake).

@luhenry luhenry closed this Sep 3, 2026
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.

1 participant