Skip to content

recipe: xxhash 3.8.0 + ormsgpack 1.12.2#89

Merged
ndonkoHenri merged 2 commits into
mainfrom
xxhash-ormsgpack
Jun 30, 2026
Merged

recipe: xxhash 3.8.0 + ormsgpack 1.12.2#89
ndonkoHenri merged 2 commits into
mainfrom
xxhash-ormsgpack

Conversation

@ndonkoHenri

Copy link
Copy Markdown

Adds two recipes requested in flet-dev/flet#6625 to support LangGraph on mobile:

  • xxhash 3.8.0 — fast hashing (LangGraph uses it for cache keys)
  • ormsgpack 1.12.2 — msgpack (de)serialization

Recipe shapes — both clean, no patches

  • xxhash — minimal C-extension (setuptools, bundles the xxHash C source; sdist ships the prebuilt _xxhash.c, so no Cython at build). Upstream already cross-compiles to mobile, but only publishes cp313/cp314 wheels and no armeabi-v7a — this recipe fills the gaps (cp312, which is flet's primary, plus armeabi-v7a) and puts the full set on pypi.flet.dev.
  • ormsgpack — Rust / PyO3 via maturin, mirroring the existing orjson recipe (just _PYTHON_SYSCONFIGDATA_NAME for the PyO3 cross-build). Stable toolchain (rust-version 1.81, unstable-simd off by default), so no nightly. The 32-bit armeabi-v7a build needed no AtomicU64/portable_atomic workaround.
@ndonkoHenri ndonkoHenri merged commit 6611a76 into main Jun 30, 2026
24 of 30 checks passed
@ndonkoHenri ndonkoHenri deleted the xxhash-ormsgpack branch June 30, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant