Skip to content

Commit 39c818f

Browse files
chore: improve fork comment and use v0.12.2-preview llgo tag
Update download-llgo.sh comment to explain why the fork is used (goplus/llgo v0.12.1 has gogen compilation bugs fixed on main but not yet released). Switch version tag from v0.12.14 to v0.12.2-preview across action.yml and all workflow files. Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: luoliwoshang <51194195+luoliwoshang@users.noreply.github.com>
1 parent d53e6fa commit 39c818f

File tree

5 files changed

+8
-6
lines changed

5 files changed

+8
-6
lines changed

.github/actions/setup-llcppg/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ inputs:
88
description: "LLVM version to install (e.g. 18)"
99
default: "19"
1010
llgo:
11-
description: "LLGo version to download (e.g. v0.12.14)"
12-
default: "v0.12.14"
11+
description: "LLGo version to download (e.g. v0.12.2-preview)"
12+
default: "v0.12.2-preview"
1313
runs:
1414
using: "composite"
1515
steps:

.github/actions/setup-llcppg/download-llgo.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ esac
3939
# Remove 'v' prefix from version if present
4040
VERSION_NUMBER="${VERSION#v}"
4141
FILENAME="llgo${VERSION_NUMBER}.${OS}-${ARCH}.tar.gz"
42-
# Use fork releases while upstream release is not available yet.
42+
# Temporary: use fork releases because goplus/llgo v0.12.1 has gogen
43+
# compilation bugs fixed on main but not yet released.
44+
# TODO: revert to github.com/goplus/llgo once v0.12.2+ is officially released.
4345
URL="https://github.com/luoliwoshang/llgo/releases/download/${VERSION}/${FILENAME}"
4446

4547
echo "Downloading LLGo ${VERSION} for ${OS}-${ARCH}..."

.github/workflows/end2end.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- ubuntu-latest
2525
- ubuntu-24.04-arm
2626
llvm: [19]
27-
llgo: [v0.12.14]
27+
llgo: [v0.12.2-preview]
2828
go: [1.23]
2929
fail-fast: false
3030
runs-on: ${{matrix.os}}

.github/workflows/gentest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- ubuntu-latest
2525
- ubuntu-24.04-arm
2626
llvm: [19]
27-
llgo: [v0.12.14]
27+
llgo: [v0.12.2-preview]
2828
go: [1.23]
2929
fail-fast: false
3030
runs-on: ${{matrix.os}}

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- macos-latest
2626
- ubuntu-latest
2727
llvm: [19]
28-
llgo: [v0.12.14]
28+
llgo: [v0.12.2-preview]
2929
go: [1.23]
3030
fail-fast: false
3131
runs-on: ${{matrix.os}}

0 commit comments

Comments
 (0)