Skip to content

cshogi: Add version 1.0.9 - #3395

Draft
luhenry wants to merge 1 commit into
mainfrom
cshogi
Draft

luhenry wants to merge 1 commit into
mainfrom
cshogi

Conversation

@luhenry

@luhenry luhenry commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Compiles a Cython/C++17 extension implementing a fast shogi (Japanese chess) move generator and search. Upstream publishes no riscv64 wheel.

Upstream builds per-interpreter inside manylinux containers by hand (no cibuildwheel); this is the same shape via a standard build-from-checkout cibuildwheel job.

Differs from upstream

  • setup.py's x86/arm SIMD flag branches don't match riscv64 and fall through to plain C++17; the HAVE_SSE4/HAVE_AVX2 defines it still sets are unused by any source file

Testing

  • smoke import (cshogi.Board().sfen()) - upstream carries no automated test suite

License: OK

cshogi is a fast shogi (Japanese chess) library: a Cython/C++17
setuptools Extension (cshogi._cshogi plus two gym_shogi env
extensions) over its own src/*.cpp move generator and search code.
setup.py adds x86/arm SIMD compile flags only for those machine()
values and falls through to plain -std=c++17 on anything else; the
HAVE_SSE4/HAVE_AVX2 defines it still sets unconditionally are unused
by any source file, confirmed by grepping src/ for intrinsics. No
riscv64 wheel on PyPI. Build-from-checkout cibuildwheel job at tag
v1.0.9.
@luhenry
luhenry marked this pull request as draft October 16, 2026 00:03

This branch has not been deployed

No deployments
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.

1 participant