Skip to content

[tools] Update llvm version from 19.0.4 to 20.1.1 #6455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: ./.github/actions/clang-tidy-upload
with:
platform: linux64
version: 19.1.4
version: 20.1.1
upload-to-s3: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

concurrency:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/clang-tidy-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: ./.github/actions/clang-tidy-upload
with:
platform: macos-i386
version: 19.1.4
version: 20.1.1
upload-to-s3: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

build-M1:
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
uses: ./.github/actions/clang-tidy-upload
with:
platform: macos-arm64
version: 19.1.4
version: 20.1.1
upload-to-s3: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}

concurrency:
Expand Down
6 changes: 3 additions & 3 deletions tools/clang-tidy-checks/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ function clone_llvm() {
if [[ -d llvm-project ]]; then
rm -rf llvm-project
fi
git clone -b llvmorg-19.1.4 https://github.com/llvm/llvm-project.git --depth=1
git clone -b llvmorg-20.1.1 https://github.com/llvm/llvm-project.git --depth=1
success
}

function apply_patches() {
info "applying patches"
pushd llvm-project
for check in ../19.x-patches/*.diff; do
for check in ../20.x-patches/*.diff; do
patch -p1 -N -d . < "$check"
done
popd
Expand Down Expand Up @@ -109,7 +109,7 @@ function build() {

function setup() {
clone_llvm
# No need to patch llvm-19
# No need to patch llvm-20
# apply_patches
build
}
Expand Down