Skip to content

Add riscv64 release binaries #21217

@gounthar

Description

@gounthar

Is your feature request related to a problem? Please describe.
Loki has no riscv64 release binaries or Docker images, limiting its use on RISC-V hardware and edge deployments.

Describe the solution you'd like
Add linux/riscv64 to the release build matrix and Docker manifest. Loki is a pure Go project so cross-compilation should be straightforward.

Describe alternatives you've considered
Building from source works but isn't practical for production deployments. Distro packages aren't widely available for riscv64 yet.

Additional context
Loki builds and runs on native riscv64 hardware with no source changes:

$ file ./loki
ELF 64-bit LSB executable, UCB RISC-V, double-float ABI, version 1 (SYSV),
dynamically linked, interpreter /lib/ld-linux-riscv64-lp64d.so.1

Built on BananaPi F3 (SpacemiT K1, rv64gc, 8 cores @ 1.6 GHz). Binary is 208MB.

Native riscv64 GitHub Actions runners are available through the RISE Project (ubuntu-24.04-riscv), free for open source. To enable: install the RISE runners GitHub App. Already used by numpy, Apache Arrow, llama.cpp, and others.

Related projects in the Grafana stack (Tempo, Mimir) could benefit from the same addition.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/featureSomething new we should do

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions