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

オープン
#164 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
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分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CommandCodeAI/desktop のほかの issue

CommandCodeAI/desktop の issue をすべて見る

似ている issue

Shell/Bash の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。