feat: use prebuilt llgo v0.12.0 and keep LLVM for clang#610
Merged
Conversation
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>
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
MeteorsLiu
approved these changes
Dec 30, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
Changes Made
1. Created
.github/actions/setup-llcppg/download-llgo.sh2. Updated
.github/actions/setup-llcppg/action.ymlllvm-dev,libclang-dev,lld,libunwind-dev,libc++-devclang-19for compilation needsBenefits
Test Results
configinternal/nameinternal/arginternal/unmarshalRelated Issues
Closes #609
Related to #590
Generated with codeagent
Co-authored-by: luoliwoshang 51194195+luoliwoshang@users.noreply.github.com