Skip to content

ripgrep: add build-ripgrep.yml for riscv64 wheels - #1329

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

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

Conversation

@luhenry

@luhenry luhenry commented Sep 7, 2026

Copy link
Copy Markdown
Member

Compiles a maturin bindings = "bin" wheel wrapping the rg binary. Upstream publishes no riscv64 wheel.

Mirrors the build-release job of upstream's own release.yml.

Differs from upstream

  • The git tag ships no pyproject.toml (only the released sdist has one, synthesized by whatever process cuts the PyPI release) — recreated it verbatim; the root Cargo.toml already defines the rg binary so no manifest-path override is needed.
  • No --features pcre2: the released PyPI wheel links only libc/libgcc_s (verified against the published manylinux_2_39_x86_64 wheel), so the default build (no PCRE2 backreferences/look-around) matches what upstream actually ships.

Testing

  • No wheel-level test suite ships in the sdist. Drives the real search engine against known fixtures instead (regex match, -i, -c, -v, --json, and a .gitignore-respecting recursive search).

License: OK

* Package: ripgrep
* Version: 15.1.0
* Source: https://github.com/BurntSushi/ripgrep
* Docs: https://github.com/BurntSushi/ripgrep

Compiles a maturin bin-bindings wheel wrapping the rg binary. Upstream
publishes no riscv64 wheel. Mirrors the build-release job of upstream's
own release.yml. No pyproject.toml ships in the git tag (only the
released sdist has one); recreated it verbatim, and since the wheel
carries a single compiled binary with no ABI tag, one native build
covers every interpreter.

No wheel-level test suite ships in the sdist; the workflow drives the
real search engine against known fixtures (regex match, -i, -c, -v,
--json, and a .gitignore-respecting recursive search) instead of a
bare --version check.

License: OK
@luhenry
luhenry merged commit 69d5e24 into main Sep 7, 2026
10 checks passed
@luhenry
luhenry deleted the ripgrep branch September 7, 2026 12:42
@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.

ripgrep riscv64 support

1 participant