Skip to content

hidapi: add build-hidapi.yml for riscv64 wheels - #1097

Merged
luhenry merged 1 commit into
mainfrom
hidapi
Sep 6, 2026
Merged

hidapi: add build-hidapi.yml for riscv64 wheels#1097
luhenry merged 1 commit into
mainfrom
hidapi

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Compiles cython-hidapi's hid (libusb backend) and hidraw extensions. Upstream publishes no riscv64 wheel.

Mirrors upstream's wheels.yml.

Differs from upstream

  • Installs systemd-devel instead of libudev-devel - Rocky 10 has no libudev-devel package; systemd-devel provides the same libudev.so/header.

Testing

  • Runs upstream's tests.py plus an import/enumerate check for hidraw, which upstream's own suite never exercises.

License: Wheel bundles libusb1 (LGPL-2.1-or-later), systemd-libs (LGPL-2.1-or-later) and libcap (BSD-3-Clause OR GPL-2.0-only); upstream ships no licence text for them, so the build adds it.

Built on cp312; 1 passed.

Builds cython-hidapi's libusb/hidraw extensions for riscv64, installing
libusb1-devel and systemd-devel (which provides libudev on Rocky 10, since
libudev-devel doesn't exist there) in the manylinux container.
luhenry added a commit that referenced this pull request Sep 6, 2026
@luhenry
luhenry merged commit f8c2476 into main Sep 6, 2026
10 checks passed
@luhenry
luhenry deleted the hidapi branch September 6, 2026 18:22
@luhenry luhenry linked an issue Sep 6, 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.

hidapi riscv64 support

1 participant