Skip to content

Updated clang toolset to version 18#59

Merged
percona-ysorokin merged 1 commit intomainfrom
clang_18
May 21, 2025
Merged

Updated clang toolset to version 18#59
percona-ysorokin merged 1 commit intomainfrom
clang_18

Conversation

@percona-ysorokin
Copy link
Copy Markdown
Collaborator

@percona-ysorokin percona-ysorokin commented May 16, 2025

GitHub Actions workers now use 'ubuntu-24.04' image that have more
recent toolsets as a part of standard distribution.
'apt.llvm.org' package repository is no longer used for 'clang'.
'ppa:ubuntu-toolchain-r/test' package repository is no longer used for
'gcc'.

CMake presets for Boost, AWS SDK C++ and the main projects now use
'clang-18'.

GitHub Actions scripts now use 'clang18_xxx' presets instead of
'clang17_xxx'.

Clang Format and Clang Tidy invocations in GitHub Actions scripts
changed to version 18.

Fixed problem with missing comma in the 'Checks' section of the
'.clang-tidy' settings file which caused enabling 'fuchsia-*' checks
after switching to clang-18.

Fixed new clang-18-specific Clang Tidy warnings in the source code.

Verified that "-stdlib=libc++ -fsanitize=address" alloc-dealloc-mismatch
issue (llvm/llvm-project#59432) still exists
in Clang 18 - updated TODO item to try again in Clang 19.

Before running MTR we now completely disable MySQL Server AppArmor
profile in the GitHub Actions script.

@percona-ysorokin percona-ysorokin marked this pull request as ready for review May 16, 2025 23:41
@percona-ysorokin percona-ysorokin force-pushed the clang_18 branch 7 times, most recently from ec8fb45 to 1c0709f Compare May 21, 2025 22:52
GitHub Actions workers now use 'ubuntu-24.04' image that have more
recent toolsets as a part of standard distribution.
'apt.llvm.org' package repository is no longer used for 'clang'.
'ppa:ubuntu-toolchain-r/test' package repository is no longer used for
'gcc'.

CMake presets for Boost, AWS SDK C++ and the main projects now use
'clang-18'.

GitHub Actions scripts now use 'clang18_xxx' presets instead of
'clang17_xxx'.

Clang Format and Clang Tidy invocations in GitHub Actions scripts
changed to version 18.

Fixed problem with missing comma in the 'Checks' section of the
'.clang-tidy' settings file which caused enabling 'fuchsia-*' checks
after switching to clang-18.

Fixed new clang-18-specific Clang Tidy warnings in the source code.

Verified that "-stdlib=libc++ -fsanitize=address" alloc-dealloc-mismatch
issue (llvm/llvm-project#59432) still exists
in Clang 18 - updated TODO item to try again in Clang 19.

Before running MTR we now completely disable MySQL Server AppArmor
profile in the GitHub Actions script.
@percona-ysorokin percona-ysorokin changed the title Updated clang toolset to version 18 (WIP) Updated clang toolset to version 18 May 21, 2025
@percona-ysorokin percona-ysorokin merged commit 5df43e4 into main May 21, 2025
7 checks passed
@percona-ysorokin percona-ysorokin deleted the clang_18 branch May 21, 2025 23:30
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.

1 participant