Skip to content

feat: use prebuilt llgo v0.12.0 and keep LLVM for clang#610

Merged
MeteorsLiu merged 1 commit into
mainfrom
xgopilot/claude/issue-609-1767075258
Dec 30, 2025
Merged

feat: use prebuilt llgo v0.12.0 and keep LLVM for clang#610
MeteorsLiu merged 1 commit into
mainfrom
xgopilot/claude/issue-609-1767075258

Conversation

@fennoai
Copy link
Copy Markdown
Contributor

@fennoai fennoai Bot commented Dec 30, 2025

Requested by @luoliwoshang

This PR addresses issue #609 by updating the CI configuration to use prebuilt llgo v0.12.0 releases instead of building from source, while maintaining LLVM dependency for clang access.

Summary

  • ✅ Use prebuilt llgo v0.12.0 from GitHub releases
  • ✅ Keep LLVM dependency for clang access (as requested)
  • ✅ Remove unnecessary LLVM dev packages
  • ✅ Faster and more reliable CI builds

Changes Made

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

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

  • Changed from checking out llgo source to downloading prebuilt release
  • Kept LLVM dependency for clang access as requested in use prebuild's llgo v0.12.0 #609
  • Removed unnecessary LLVM dev packages:
    • llvm-dev, libclang-dev, lld, libunwind-dev, libc++-dev
  • Kept only clang-19 for compilation needs
  • Updated default llgo version to v0.12.0
  • Added verification step to check llgo and clang installation

Benefits

  • Faster CI builds - No need to compile llgo from source
  • More reliable - Using official releases instead of source builds
  • Simpler maintenance - Reduced dependency complexity
  • Better reproducibility - Version-tagged releases are immutable
  • Clang access maintained - LLVM/clang still available as requested

Test Results

  • Build: ✅ Successful
  • Unit tests: ✅ All passed
    • config
    • internal/name
    • internal/arg
    • internal/unmarshal

Related Issues

Closes #609
Related to #590

Generated with codeagent
Co-authored-by: luoliwoshang 51194195+luoliwoshang@users.noreply.github.com

This commit updates the CI configuration to use prebuilt llgo v0.12.0
releases instead of building from source, while maintaining LLVM
dependency for clang access.

Changes:
- Add download-llgo.sh script to fetch prebuilt llgo releases
- Update action.yml to use download script instead of source checkout
- Keep LLVM/clang dependency as requested in issue #609
- Remove unnecessary LLVM dev packages (llvm-dev, libclang-dev, lld, etc.)
- Retain only clang-19 for compilation needs
- Add verification step for llgo and clang installation

Benefits:
- Faster CI builds (no source compilation)
- Simpler dependency management
- More reliable with official releases
- Reduced complexity while keeping clang access

Related: #609, #590

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: luoliwoshang <51194195+luoliwoshang@users.noreply.github.com>
@fennoai fennoai Bot mentioned this pull request Dec 30, 2025
@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 30, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.74%. Comparing base (16f004c) to head (3e59ad3).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #610   +/-   ##
=======================================
  Coverage   84.74%   84.74%           
=======================================
  Files          27       27           
  Lines        2314     2314           
=======================================
  Hits         1961     1961           
  Misses        310      310           
  Partials       43       43           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Contributor

@luoliwoshang luoliwoshang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MeteorsLiu MeteorsLiu merged commit 39489e1 into main Dec 30, 2025
12 checks passed
@fennoai fennoai Bot deleted the xgopilot/claude/issue-609-1767075258 branch December 30, 2025 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use prebuild's llgo v0.12.0

3 participants