Skip to content

build(riscv64): add native wheel build workflow#1

Merged
gounthar merged 1 commit intomainfrom
chore/add-riscv64-build
Mar 11, 2026
Merged

build(riscv64): add native wheel build workflow#1
gounthar merged 1 commit intomainfrom
chore/add-riscv64-build

Conversation

@gounthar
Copy link
Copy Markdown
Owner

@gounthar gounthar commented Mar 11, 2026

Add build-riscv64.yml for self-hosted BananaPi F3 runners.

Summary by CodeRabbit

  • Chores
    • Added automated workflow for building and publishing prebuilt wheels for riscv64 architecture.

Add GitHub Actions workflow to build llama-cpp-python wheel natively
on BananaPi F3 (SpacemiT K1, rv64imafdcv) self-hosted runners.
Uses GGML_NATIVE=ON for automatic RVV detection.
@gounthar gounthar merged commit af16484 into main Mar 11, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 11, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 296c0687-b479-4bb1-9a92-1dca76d60b14

📥 Commits

Reviewing files that changed from the base of the PR and between c37132b and 65fd2af.

📒 Files selected for processing (1)
  • .github/workflows/build-riscv64.yml

📝 Walkthrough

Walkthrough

A new GitHub Actions workflow is introduced to build and publish prebuilt llama-cpp-python wheels for riscv64 architecture. The workflow automatically builds wheels on a self-hosted riscv64 runner, validates platform tags, and creates GitHub Releases with checksums and notifications.

Changes

Cohort / File(s) Summary
New RISC-V CI/CD Workflow
.github/workflows/build-riscv64.yml
Adds a complete GitHub Actions workflow with three jobs: (1) Build job that compiles wheels on a self-hosted riscv64 runner with validation of platform tags; (2) Release job that creates GitHub Releases with SHA256 checksums; (3) Notify-index job that triggers repository dispatch for index updates. Includes workflow_dispatch trigger with optional release_tag input and weekly schedule. Handles artifact management and cleanup across all steps.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~22 minutes

Poem

🐰 A workflow so grand, for riscv64's land,
Building wheels with a swift rabbity hand,
From runner to release, each step in its place,
We hop through the pipeline at a breakneck pace!
Checksums and notices, oh what a sight,
The build automation burns oh so bright! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/add-riscv64-build

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

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