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

Đang mở
#164 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
electron, linux, node.js
Lĩnh vực
build-system, desktop

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Shell
Star
110
Fork
9
Merge trung bình
12 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CommandCodeAI/desktop

Tất cả issue của CommandCodeAI/desktop

Issue tương tự

Thêm issue về Shell/Bash

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.