Skip to content

Bazelisk for riscv64 #781

Open
Open

Description

@Mizux

All in the title, will be happy to have a release artifact for riscv64....

FYI

# enable qemu support for docker to run riscv64 image on amd64 host
$ docker run --pull always --rm --privileged multiarch/qemu-user-static --reset -p yes
# debian do provide a riscv64 image
$ docker run --platform linux/riscv64 --rm --init -it debian:latest bash
root# uname -m
riscv64
root# apt update
root# apt search bazel
bazel-bootstrap/stable 4.2.3+ds-11 riscv64
  Tool to automate software builds and tests
bazel-bootstrap-data/stable 4.2.3+ds-11 all
  Tool to automate software builds and tests (data files)
bazel-bootstrap-source/stable 4.2.3+ds-11 all
  Tool to automate software builds and tests (source code)

Activity

  1. jwnimmer-tri commented on Apr 20, 2026

    @jwnimmer-tri
    Contributor

    For anyone looking where to make a PR, I'd suggest looking at #608 for an example. I imagine the path forward here is to amend the build.sh script to also build and publish riscv binaries.

    (I'm not a bazelisk project maintainer.)

  2. taurus-forever commented on Aug 10, 2026

    @taurus-forever

    @jwnimmer-tri applying your changes for bazelisk is not enough, as no bazel:

    > ./build.sh 
    2026/08/10 11:15:32 could not download Bazel: could not determine path segment to use for Bazel binary: unsupported machine architecture "riscv64", must be arm64 or x86_64
    ...
    2026/08/10 11:15:38 Downloading https://releases.bazel.build/9.2.0/release/bazel-9.2.0-linux-riscv64...
    2026/08/10 11:15:38 could not download Bazel: failed to download bazel: failed to download bazel: not found
    

    No Bazel support for riscv64 https://releases.bazel.build/9.2.0/release/ (yet).
    Fingers-crossed for Rise-dev-appreciation/Rise-dev-appreciation#51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions