Update LLVM version from 15/16 to 17 across K Framework #4859
+13
−13
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.
Summary
This PR updates the LLVM version from 15/16 to 17 across the entire K Framework repository to align with modern toolchain requirements and improve performance.
This PR requires llvm-backend PR #1214 to be merged first.
The llvm-backend submodule changes are included in this PR, but the final merge should wait until the llvm-backend PR is merged and released to ensure proper dependency alignment.
Changes Made
GitHub Actions Workflows
.github/workflows/release.yml: Updated allllvm: 15/16→llvm: 17.github/workflows/test-pr.yml: Updated allllvm: 15→llvm: 17Debian Package Dependencies
package/debian/kframework/control.jammy:clang-15→clang-17lld-15→lld-17llvm-15→llvm-17package/debian/kframework/control.noble:clang-16→clang-17lld-16→lld-17llvm-17(already correct)Installation Scripts
install-build-deps: Updated Debian package installationclang-15→clang-17lld-15→lld-17llvm-15-tools→llvm-17-toolsmacOS Support
package/macos/brew-install-deps:llvm@15→llvm@17macos-envrc: Updated environment variables forllvm@17Submodule Updates
llvm-backend/src/main/native/llvm-backend: Updated to include LLVM 17 changes from PR #1214Testing Strategy
llvm@17Migration Benefits
Related PRs
Checklist
deps/llvm-backend_releaseafter llvm-backend release