-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Support LLVM 21.0 (development branch) #15771
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
Support LLVM 21.0 (development branch) #15771
Conversation
With this change we should also add a test against LLVM's development branch to LLVM CI. |
We have not been escaping our strings properly. The Crystal code |
Currently, Crystal waits until a new stable major version of LLVM is released before that version is declared in
src/llvm/ext/llvm-versions.txt
, the list of supported LLVM versions. This has proved to be a hassle when maintaining Crystal on software repositories that only distribute the latest versions of each package; LLVM x.1 is often scheduled half to a whole month before a corresponding Crystal 1.y release, during which either Crystal does not run at all (LLVM could use versioned library names), or someone has to explicitly backport LLVM support on our master branch to a preceding Crystal package.With this PR, Crystal now supports the latest LLVM development branch explicitly, in the hopes that unattended transitions from LLVM x.0 to x.1 are smooth. This also means Crystal is now responsible for tracking any upstream LLVM changes as soon as possible.