Repository navigation
Conversation
Visual Studio 2026 becomes the default toolchain on every platform, and
premake moves to 5.0.0, the first release that both has the vs2026 action
and runs on Ubuntu 22.04 (beta8 needs glibc 2.38).
- build.sh downloads premake 5.0.0 on all platforms (the x64 package on
Intel Macs), checks the cached version exactly, and uses the renamed
gmake action.
- Visual Studio 2026 generates CppSharp.slnx: handle it in build.sh,
.gitignore and the solution items, and port the solution items
extension to the .slnx writer.
- Replace the flags API removed in premake 5.0.0.
- Fix the post-build step copying the Clang builtin headers: use
{COPYDIR}, drop the stray % that made the cleanup use a wrong path,
and let the copy create the folder so cp does not nest it.
- Detect Visual Studio 2026 when building LLVM (CMake generator, .slnx
solution) and reuse the Visual Studio 2022 LLVM packages, as MSVC 14.5x
is binary compatible with 14.3x.
- Add VisualStudioVersion.VS2026; Latest now maps to it.
- CI: Windows jobs run on windows-2025-vs2026.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
nbeck-SMT
force-pushed
the
build/vs2026-premake5
branch
from
November 12, 2026 12:59
96d8bfe to
e0b7b47
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR moves the whole project to VS2026 and Premake 5.0.0.
Note: I used Claude AI because I don't know enough about the whole build infrastructure. I tried to check as much as I could and tested on Windows and Linus, but I don't have access to a Mac.