Skip to content

Upgrade LLVM 22 -> LLVM 23#3

Open
ShadovvBeast wants to merge 1 commit into
masterfrom
llvm-23-upgrade
Open

Upgrade LLVM 22 -> LLVM 23#3
ShadovvBeast wants to merge 1 commit into
masterfrom
llvm-23-upgrade

Conversation

@ShadovvBeast
Copy link
Copy Markdown
Collaborator

Summary

Upgrades the sig compiler from LLVM 22.1.6 to LLVM 23.1.1 across all build infrastructure.

Changes

  • .github/workflows/build-llvm.yaml — Tag llvmorg-23.1.1, artifacts llvm-23-*, release tag llvm-23
  • .github/workflows/release.yaml — Download from llvm-23 release, updated artifact names
  • CMakeLists.txt — find_package(llvm/clang/lld 23)
  • cmake/Findllvm.cmake — Version bounds 23 <= v < 24, search paths updated
  • cmake/Findclang.cmake — Shared lib names .so.23, clang-cpp-23.0
  • cmake/Findlld.cmake — Search paths and lib names updated to 23
  • build.sig — Discovery step: "Find LLVM 23.x"
  • src/zig_clang_driver.cpp — LLVM 23 C++ API adaptation
  • src/zig_clang_cc1_main.cpp — LLVM 23 C++ API adaptation
  • src/zig_clang_cc1as_main.cpp — LLVM 23 C++ API adaptation

Verified

  • src/zig_llvm.h is UNCHANGED (external C interface preserved)
  • All changes are within sig-owned file boundaries (sig-sync compatible)

Testing needed

  • Run build-llvm.yaml workflow to produce LLVM 23 artifacts
  • Run release.yaml to verify stage3 builds link correctly
  • Run sig build test against LLVM 23 to verify no regressions
  • Verify CI passes on all 3 platforms (x86_64-linux, aarch64-macos, x86_64-windows-gnu)

- build-llvm.yaml: bump tag to llvmorg-23.1.1, artifacts to llvm-23-*
- release.yaml: download from llvm-23 release, update artifact names
- CMakeLists.txt: find_package(llvm/clang/lld 23)
- cmake/Findllvm.cmake: version bounds 23 <= v < 24, search paths
- cmake/Findclang.cmake: shared lib names .so.23, clang-cpp-23.0
- cmake/Findlld.cmake: search paths and lib names to 23
- build.sig: discovery step 'Find LLVM 23.x'
- src/zig_clang_driver.cpp: LLVM 23 API adaptation
- src/zig_clang_cc1_main.cpp: LLVM 23 API adaptation
- src/zig_clang_cc1as_main.cpp: LLVM 23 API adaptation
- src/zig_llvm.h: UNCHANGED (external C interface preserved)
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