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

Aperta
#164 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
electron, linux, node.js

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
Shell
Stelle
110
Fork
9
Merge medio
12m
PR unite (30g)
1

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CommandCodeAI/desktop

Tutte le issue di CommandCodeAI/desktop

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.