Skip to content

opencc: add build-opencc.yml for riscv64 wheels - #1433

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

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

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Compiles the OpenCC pybind11 extension for Traditional/Simplified Chinese conversion. Upstream publishes no riscv64 wheel.

Mirrors upstream's python.yml/release-pypi.yml cibuildwheel recipe.

Differs from upstream

  • VERSION pinned via CIBW_ENVIRONMENT instead of git describe - shallow checkout has no tag history.

Testing

  • same as upstream

License: OK

Built on cp312; local native build of the pybind11 extension (cmake configure + build) succeeded against the vendored deps (pybind11, marisa, darts-clone, rapidjson, tclap).

Builds the OpenCC (Traditional/Simplified Chinese conversion) pybind11
extension for riscv64 via cibuildwheel, mirroring upstream's own
test-pypi/release-pypi cibuildwheel recipe. All C++ dependencies
(pybind11, marisa, darts-clone, rapidjson, tclap) and the dictionary
data files are vendored in the sdist/checkout, so no extra
CIBW_BEFORE_BUILD step or registry dependency is needed.
luhenry added a commit that referenced this pull request Sep 7, 2026
@luhenry
luhenry merged commit e87432d into main Sep 7, 2026
9 checks passed
@luhenry
luhenry deleted the opencc branch September 7, 2026 18:09
@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.

opencc riscv64 support

1 participant