[Feedback]: Add loong64 (LoongArch64) builds for Command Code

Abierto
#164 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
35/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
electron, linux, node.js

Línea de trabajo

Start by locating the packaging and release configuration that produces the npm platform packages and desktop Electron resources; the issue does not name specific files or tests. Check how supported architectures are selected, then assess whether the available LoongArch Node.js and Electron builds fit that flow. Done means publishing usable loong64 packages and verifying installation on LoongArch64, or documenting a working source setup there.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement
What problem are you trying to solve?

Environment

  • OS: UOS 20 (deepin-based, deb)
  • Arch: loongarch64 (LoongArch64, Loongson 3A series)
  • Version currently in use: 0.1.60

Problem

There is no official way to install Command Code natively on LoongArch64 Linux:

  • npm i -g command-code does not ship loong64 platform packages / Electron runtime, so the documented install path fails on loong64.

Workaround currently in use

I am running the x86-64 distribution (v0.1.60) on a real LoongArch64 machine through LATX — LoongArch's built-in x86 binary translation (latx-x86_64 + binfmt). It launches and works end to end, but with real costs:

  • Startup and UI are noticeably slower (every x86 instruction is translated at runtime; V8 JIT inside the translator).
  • Higher memory usage.
  • Electron GPU acceleration / sandbox features are unreliable under translation.
What would improve it?

Request

Please provide official loong64 builds, e.g.:

  1. A loong64 npm platform package (Node runtime + native deps), and
  2. A loong64 Electron runtime for the desktop resources — note that native loong64 Electron and Node.js builds already exist in the Loongson community (Loongnix / deepin-loongarch repos), so this may be mostly a packaging/publish task rather than a port.

Alternatively, documenting how to run from source under a loong64 Node.js would already unblock loong64 users.

I have real loongarch64 hardware (UOS 20) available and am happy to test builds.

What do you do today?

No response

Product area

None

Lenguaje dominante
Shell
Estrellas
110
Forks
9
Merge medio
12 min
PR fusionados (30 d)
1

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de CommandCodeAI/desktop

Todos los issues de CommandCodeAI/desktop

Issues similares

Más issues de Shell/Bash

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.