Skip to content

new(xxhash.com): extremely fast non-cryptographic hash#13120

Open
tannevaled wants to merge 1 commit into
pkgxdev:mainfrom
tannevaled:new/xxhash
Open

new(xxhash.com): extremely fast non-cryptographic hash#13120
tannevaled wants to merge 1 commit into
pkgxdev:mainfrom
tannevaled:new/xxhash

Conversation

@tannevaled
Copy link
Copy Markdown
Contributor

Summary

Add a pantry recipe for xxHash (XXH32/XXH64/XXH128/XXH3 + xxhsum CLI). Built from source from the official Cyan4973/xxHash release tarball.

Why now

Several pantry recipes currently disable xxhash support because pantry doesn't ship it:

  • `projects/rsync.samba.org/package.yml` — has `--disable-xxhash # FIXME` in its ARGS
  • `projects/tug.org/texlive/package.yml` — has `--disable-dvisvgm` because dvisvgm needs xxhash
  • Several others (fbthrift, fb303, xpra, borgbackup) currently bundle their own copy

Landing this lets those recipes drop the workarounds.

Test plan

  • Local recipe: gh search code --repo pkgxdev/pantry "xxhash" confirms no existing recipe.
  • CI: boundary-check, plan, and 4 bottle builds (linux x86-64/aarch64, darwin x86-64/aarch64).
  • Test step verifies XXH32 of empty string = 02cc5d05 (known value) and runs xxh64sum/xxh128sum.

🤖 Generated with Claude Code

Tiny C library + xxhsum CLI. Several pantry recipes currently disable
xxhash support because pantry doesn't ship it:
- rsync.samba.org: `--disable-xxhash` FIXME
- tug.org/texlive: `--disable-dvisvgm` (dvisvgm needs xxhash)

Landing this unblocks those follow-ups.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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