Skip to content

cysignals: add build-cysignals.yml for riscv64 wheels - #1222

Merged
luhenry merged 1 commit into
mainfrom
cysignals
Sep 7, 2026
Merged

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

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Cython/C extension providing safe interrupt and signal handling (SIGSEGV/SIGFPE/SIGALRM trapping via sigaltstack) for other Cython libraries, notably SageMath. Upstream publishes no riscv64 wheel.

Mirrors upstream's dist.yml build_wheels job (meson-python, build-from-checkout).

Differs from upstream

  • CIBW_BUILD_FRONTEND: build - upstream's build[uv] frontend crashes cibuildwheel's audit step on our self-hosted runner, which has no host uv.

Testing

  • same as upstream

License: OK

Built on cp312; CI running.

cysignals is a pure-POSIX Cython/C extension for signal handling
(sigaltstack/sigprocmask/setjmp); the only architecture-conditioned code
paths are an x86-only FPU-reset instruction (feature-probed, becomes a
no-op elsewhere) and a Cygwin+x86_64-only Windows exception shim, neither
required on Linux. Debian already builds and installs the package on
riscv64. Build-from-checkout with meson-python; overrides only
CIBW_BUILD_FRONTEND (upstream's build[uv] frontend crashes cibuildwheel's
audit step on our self-hosted runner, which has no host uv).
luhenry added a commit that referenced this pull request Sep 7, 2026
@luhenry
luhenry merged commit f0469e9 into main Sep 7, 2026
13 checks passed
@luhenry
luhenry deleted the cysignals branch September 7, 2026 08:24
@luhenry luhenry linked an issue Sep 7, 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.

cysignals riscv64 support

1 participant