Skip to content

Add support for LLVM 20, try 2 (and LLVM 21)#698

Merged
elliottslaughter merged 11 commits intoterralang:masterfrom
elliottslaughter:llvm-20-try2
Feb 2, 2026
Merged

Add support for LLVM 20, try 2 (and LLVM 21)#698
elliottslaughter merged 11 commits intoterralang:masterfrom
elliottslaughter:llvm-20-try2

Conversation

@elliottslaughter
Copy link
Copy Markdown
Member

@elliottslaughter elliottslaughter commented Jan 31, 2026

Based on #697 and #684.

Everything is fixed now on macOS/Linux/FreeBSD. Windows works with LLVM 20 but fails tests with LLVM 21.

Windows required the addition of a patch to LLVM which we'll live with for now. Hopefully at some point we get a proper fix for llvm/llvm-project#163349 and then can remove the patch. See also discussion in elliottslaughter#3

@elliottslaughter elliottslaughter changed the title Add support for LLVM 20, try 2 Add support for LLVM 20, try 2 (and LLVM 21) Feb 2, 2026
@elliottslaughter elliottslaughter merged commit 0776e64 into terralang:master Feb 2, 2026
90 of 106 checks passed
@elliottslaughter elliottslaughter deleted the llvm-20-try2 branch February 2, 2026 16:32
@elliottslaughter
Copy link
Copy Markdown
Member Author

Thanks again @KaruroChori and @dawsonfrakes for helping us get this far!

Windows tests are broken on LLVM 21, but everything else is working, so I took this PR.

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.

2 participants