Skip to content

Commit 2d61b79

Browse files
Release binaries for loong64 linux platform
Signed-off-by: 吴小白 <[email protected]>
1 parent 29d4341 commit 2d61b79

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ jobs:
9090
uses: docker/setup-qemu-action@v3
9191
id: qemu
9292
with:
93-
# alpine image doesn't support linux/riscv64
94-
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/s390x
93+
# alpine image doesn't support linux/loong64
94+
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/riscv64,linux/s390x
9595
- name: setup-docker-buildx
9696
uses: docker/setup-buildx-action@v3
9797
- name: login-docker

.github/workflows/docker-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
uses: docker/setup-qemu-action@v3
4141
id: qemu
4242
with:
43-
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/s390x
43+
platforms: linux/386,linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6,linux/ppc64le,linux/riscv64,linux/s390x
4444
- name: setup-docker-buildx
4545
uses: docker/setup-buildx-action@v3
4646
- name: login-docker

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- Add `textDocument/documentSymbol` support for `buf lsp serve`.
77
- Fix LSP navigation for cached modules which could cause import paths to become unresolvable.
88
- Update default value of `--timeout` flag to 0, which results in no timeout by default.
9+
- Add LoongArch (64-bit) binaries for Linux to releases.
910

1011
## [v1.59.0] - 2025-10-20
1112

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ The following is a breakdown of the binaries by CPU architecture and operating s
108108
| ARM (64-bit) ||||
109109
| ARMv7 (32-bit) ||||
110110
| RISC-V (64-bit) ||||
111+
| LoongArch (64-bit) ||||
111112
| ppc64le ||||
112113
| s390x ||||
113114

make/buf/scripts/release.bash

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ goarch() {
2929
arm64) echo arm64 ;;
3030
aarch64) echo arm64 ;;
3131
armv7) echo arm ;;
32+
loongarch64 ) echo loong64 ;;
3233
ppc64le) echo ppc64le ;;
3334
s390x) echo s390x ;;
3435
*) echo "unsupported"; return 1 ;;
@@ -87,7 +88,7 @@ mkdir -p "${RELEASE_DIR}"
8788
cd "${RELEASE_DIR}"
8889

8990
for os in Darwin Linux Windows; do
90-
for arch in x86_64 riscv64 arm64 armv7 ppc64le s390x; do
91+
for arch in x86_64 riscv64 arm64 armv7 loongarch64 ppc64le s390x; do
9192
# our goal is to have the binaries be suffixed with $(uname -s)-$(uname -m)
9293
# on mac, this is arm64, on linux, this is aarch64, for historical reasons
9394
# this is a hacky way to not have to rewrite this loop (and others below)
@@ -120,7 +121,7 @@ for os in Darwin Linux Windows; do
120121
done
121122

122123
for os in Darwin Linux Windows; do
123-
for arch in x86_64 riscv64 arm64 armv7 ppc64le s390x; do
124+
for arch in x86_64 riscv64 arm64 armv7 loongarch64 ppc64le s390x; do
124125
if [[ ! "${arch}" =~ x86_64|arm64 ]] && [ "${os}" != "Linux" ]; then
125126
continue
126127
fi
@@ -143,7 +144,7 @@ for os in Darwin Linux Windows; do
143144
done
144145

145146
for os in Darwin Linux; do
146-
for arch in x86_64 riscv64 arm64 armv7 ppc64le s390x; do
147+
for arch in x86_64 riscv64 arm64 armv7 loongarch64 ppc64le s390x; do
147148
if [[ ! "${arch}" =~ x86_64|arm64 ]] && [ "${os}" != "Linux" ]; then
148149
continue
149150
fi

0 commit comments

Comments
 (0)