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

未關閉
#164 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
35/100
Issue 類型
功能
描述清晰度
基本清楚
活躍度
活躍
技術堆疊
electron, linux, node.js

研究方向

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.

由索引模型根據 Issue 內容生成。

描述

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

主要語言
Shell
星號
110
分支
9
平均合併
12 分鐘
30 天內合併 PR
1

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

CommandCodeAI/desktop 的其他 Issue

查看 CommandCodeAI/desktop 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。