Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Official RISC-V 64-bit release assets #6986

Closed
benz0li opened this issue Sep 7, 2024 · 3 comments
Closed

Official RISC-V 64-bit release assets #6986

benz0li opened this issue Sep 7, 2024 · 3 comments
Labels
enhancement Some improvement that isn't a feature

Comments

@benz0li
Copy link
Contributor

benz0li commented Sep 7, 2024

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.

@benz0li benz0li added the enhancement Some improvement that isn't a feature label Sep 7, 2024
@benz0li
Copy link
Contributor Author

benz0li commented Sep 7, 2024

@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 docker host; if build is successful

@benz0li benz0li changed the title Official support for RISC-V Official RISC-V release assets Sep 7, 2024
@benz0li benz0li changed the title Official RISC-V release assets Official RISC-V 64-bit release assets Sep 20, 2024
@benz0li
Copy link
Contributor Author

benz0li commented Oct 2, 2024

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.

@benz0li
Copy link
Contributor Author

benz0li commented Nov 9, 2024

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 docker host; if build is successful

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Some improvement that isn't a feature
Projects
None yet
Development

No branches or pull requests

1 participant