Skip to content

Official RISC-V 64-bit release assets #6986

Closed

Description

@benz0li

What is your suggestion?

Build releases for Linux/RISC-V (64-bit).

Why do you want this feature?

The next stable version of Debian (13, aka trixie) is expected to ship with RISC-V 64-bit support.

Are there any workarounds to get this functionality today?

Yes. Unofficial and untested builds are published at https://gitlab.b-data.ch/coder/code-server/-/releases.

Cross reference:

Are you interested in submitting a PR for this?

No.

Activity

  1. benz0li commented on Sep 7, 2024

    @benz0li
    ContributorAuthor

    @code-asher The unofficial and untested builds are created using the multi-arch docker image glcr.b-data.ch/coder/code-server-builder.


    E.g. to build code-server v4.92.2 for Linux/RISC-V on your own Linux/x86_64 machine:

    # Install emulator (Docker CE)
    docker run --privileged --rm tonistiigi/binfmt:master --install riscv64
    
    # Install emulator (Docker Desktop)
    #docker run --privileged --rm tonistiigi/binfmt:desktop-master --install riscv64
    
    CODE_SERVER_VERSION="4.92.2"
    docker run --rm \
      --platform linux/riscv64 \
      -v "${PWD}/coder":/tmp/builds \
      -e VERSION="${CODE_SERVER_VERSION}" \
      -ti "glcr.b-data.ch/coder/code-server-builder:${CODE_SERVER_VERSION}"

    Path to release packages1: ${PWD}/coder/code-server/release-packages

    Footnotes

    1. on the docker host; if the build is successful ↩

  2. changed the title [-]Official support for RISC-V[/-] [+]Official RISC-V release assets[/+] on Sep 7, 2024
  3. changed the title [-]Official RISC-V release assets[/-] [+]Official RISC-V 64-bit release assets[/+] on Sep 20, 2024
  4. benz0li commented on Oct 2, 2024

    @benz0li
    ContributorAuthor

    Unofficial and untested RISC-V release assets are now available at https://gitlab.b-data.ch/coder/code-server/-/releases.
    ℹ️ These are created automatically as soon as a new version is tagged.

    Closing for now – until there is a real demand for official RISC-V release assets.

  5. benz0li commented on Nov 9, 2024

    @benz0li
    ContributorAuthor

    Due to nodejs/node#52888, the unofficial Linux/RISC-V Node.js binaries are stuck at v20.16.0.

    To build code-server v4.95.11 for Linux/RISC-V on your own Linux/x86_64 machine, it is required to skip the Node.js version check:

    # Install emulator (Docker CE)
    docker run --privileged --rm tonistiigi/binfmt:master --install riscv64
    
    # Install emulator (Docker Desktop)
    #docker run --privileged --rm tonistiigi/binfmt:desktop-master --install riscv64
    
    CODE_SERVER_VERSION="4.95.1"
    docker run --rm \
      --platform linux/riscv64 \
      -v "${PWD}/coder":/tmp/builds \
      -e VERSION="${CODE_SERVER_VERSION}" \
      -e VSCODE_SKIP_NODE_VERSION_CHECK=1 \
      -ti "glcr.b-data.ch/coder/code-server-builder:${CODE_SERVER_VERSION}"

    Path to release packages2: ${PWD}/coder/code-server/release-packages

    Footnotes

    1. which officially requires Node.js v20.18.0 ↩

    2. on the docker host; if the build is successful ↩

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

    enhancementSome improvement that isn't a feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions