Skip to content

rcssmin: add build-rcssmin.yml for riscv64 wheels - #985

Merged
luhenry merged 2 commits into
mainfrom
rcssmin
Sep 6, 2026
Merged

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

Conversation

@luhenry

@luhenry luhenry commented Sep 6, 2026

Copy link
Copy Markdown
Member

Compiles the _rcssmin C extension, a CSS minifier with a pure-Python fallback. Upstream publishes no riscv64 wheel and carries no GitHub Actions workflow to mirror; this follows the same shape as the repo's other tiny build-from-checkout ports (e.g. build-editdistance.yml).

Differs from upstream

  • CIBW_ENVIRONMENT: SETUP_CEXT_REQUIRED=1 - setup.py silently falls back to a pure-Python build on any compile failure otherwise.

Testing

  • same as upstream

License: OK

Checking out the git tag directly picked up debug.unix.cflags, a
coverage/-Werror dev-build flag file MANIFEST.in never ships in the sdist.
Its -Wdeclaration-after-statement -Werror -pedantic -std=c99 set turns a
mixed declaration-and-code line in CPython 3.14's free-threaded
refcount.h into a hard failure, only on cp314t. Building the sdist first
(as build-rjsmin.yml already does for the same upstream author/pattern)
excludes the file before cibuildwheel ever sees it.
@luhenry
luhenry merged commit 2d89509 into main Sep 6, 2026
10 checks passed
@luhenry
luhenry deleted the rcssmin branch September 6, 2026 13:29
@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.

rcssmin riscv64 support

1 participant