Skip to content

pylerc: add build-pylerc.yml for riscv64 wheels - #1458

Merged
luhenry merged 2 commits into
mainfrom
pylerc
Sep 8, 2026
Merged

pylerc: add build-pylerc.yml for riscv64 wheels#1458
luhenry merged 2 commits into
mainfrom
pylerc

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Wraps Esri's LERC (Limited Error Raster Compression) C++ library via ctypes. Upstream publishes no riscv64 wheel.

Mirrors upstream's build_wheels.yml.

Differs from upstream

  • Compiles inside the manylinux_riscv64 image directly - riscv64 has no separate Python-install step
  • Retags the wheel manylinux_2_39_riscv64 - matches libLerc.so.4's actual build image, like upstream's own x86_64 retag
  • Stages LICENSE/NOTICE into the setup.py subdirectory - upstream's own wheel ships neither

Testing

  • runs the package's own lerc.test() self-test (encode/decode round trip) against the built wheel

License: OK - Apache-2.0.

luhenry added a commit that referenced this pull request Sep 7, 2026
Compiles libLerc via CMake inside the manylinux_riscv64 image and packages it
with OtherLanguages/Python/setup.py's own py3-none-<plat> wheel, mirroring
upstream's build_wheels.yml narrowed to Linux riscv64.
…enaming

pip wheel ran as root inside the manylinux_riscv64 container, so the runner's
non-root user couldn't rename the wheel: 'Permission denied'.
@luhenry
luhenry merged commit 0b017a8 into main Sep 8, 2026
6 checks passed
@luhenry
luhenry deleted the pylerc branch September 8, 2026 08:36
@luhenry luhenry linked an issue Sep 8, 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.

pylerc riscv64 support

1 participant