Skip to content

Add LLVM 22 builds#345

Draft
es1024 wants to merge 2 commits intoyugabyte:masterfrom
es1024:llvm22
Draft

Add LLVM 22 builds#345
es1024 wants to merge 2 commits intoyugabyte:masterfrom
es1024:llvm22

Conversation

@es1024
Copy link
Copy Markdown
Contributor

@es1024 es1024 commented Mar 23, 2026

Required changes:

  • bump glog and gperftools to pick up patches there adding missing includes
  • apply a patch to hwy. This patch is a modification of google/highway@16bbb82 modified for clang 22+ (see google/highway@4201022) needed because of [X86][AVX10] Remove EVEX512 and AVX10-256 implementations llvm/llvm-project#157034. Full patch of 4201022df1c66193863b7d58fea8ac899bd56c45 was not used because it's unnecessary and also requires other changes to be pulled in.
  • -isystem $libcxx_installed_include flag changed from preprocessor to C++ flag, because it is not guaranteed to be C-compatible (gperftools in particular compiles some files with ANSI C, and clang 22 adds a comment that is compatible with ANSI C), and anyways just includes the underlying system include for C libraries anyways.
  • min-supported macOS version checker skips libunwind, which is copied from the toolchain. The libunwind min version is actually slightly higher for clang22 due to libunwind requirements, but still below the lowest macOS version we support building for. But bumping or removing min version for thirdparty will break the build; we should fix this eventually.

clang19 builds were also removed.

@es1024 es1024 marked this pull request as draft March 23, 2026 10:10
@es1024 es1024 force-pushed the llvm22 branch 2 times, most recently from 86b01a8 to ebf9ac9 Compare April 22, 2026 21:25
@es1024 es1024 force-pushed the llvm22 branch 2 times, most recently from 4276626 to d4e4e89 Compare April 22, 2026 22:10
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