Skip to content

Drop llvm 19 support#811

Merged
vgvassilev merged 18 commits intocompiler-research:mainfrom
mcbarton:remove-llvm-19-support
Apr 22, 2026
Merged

Drop llvm 19 support#811
vgvassilev merged 18 commits intocompiler-research:mainfrom
mcbarton:remove-llvm-19-support

Conversation

@mcbarton
Copy link
Copy Markdown
Collaborator

We plan to only support 3 llvms at any one time. This PR is not needed right now, but is preparation for when we get llvm 22 support. Setting to draft until CppInterOp is compatible with llvm 22.

@mcbarton mcbarton force-pushed the remove-llvm-19-support branch from 6639a95 to a4fc6ef Compare February 16, 2026 13:36
@mcbarton mcbarton changed the title Remove llvm 19 support Drop llvm 19 support Feb 16, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.67%. Comparing base (e1c39c9) to head (1317489).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #811   +/-   ##
=======================================
  Coverage   81.67%   81.67%           
=======================================
  Files          13       13           
  Lines        4928     4928           
=======================================
  Hits         4025     4025           
  Misses        903      903           
Files with missing lines Coverage Δ
lib/CppInterOp/Compatibility.h 88.46% <ø> (ø)
lib/CppInterOp/CppInterOp.cpp 89.15% <ø> (ø)
lib/CppInterOp/Paths.cpp 65.64% <ø> (ø)
Files with missing lines Coverage Δ
lib/CppInterOp/Compatibility.h 88.46% <ø> (ø)
lib/CppInterOp/CppInterOp.cpp 89.15% <ø> (ø)
lib/CppInterOp/Paths.cpp 65.64% <ø> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Mar 2, 2026

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@mcbarton mcbarton marked this pull request as ready for review March 25, 2026 15:04
@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@mcbarton
Copy link
Copy Markdown
Collaborator Author

To be squashed an merged in after the next CppInterOp release to free up some space in the cache. If I can get approval I will merge after the release.

@@ -1,384 +1,352 @@
name: Native Builds
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did we end up rewriting this entire file?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This commit on main ab4ca85 has caused nothing but issues with diffs (never understood why it got merged in to begin with, since it had nothing to do with the PR it got merged in with https://github.com/compiler-research/CppInterOp/pull/827/commits). When fixing the merge conflict, I chose main.yml on main, and removed the llvm 19 jobs. No idea why it is showing such a big diff.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

Copy link
Copy Markdown
Collaborator

@aaronj0 aaronj0 Mar 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if you use Windows for development, but that file was CRLF encoded. The diff is not in the characters themselves but the encoding. Please ensure this PR does not re-introduce that.

Copy link
Copy Markdown
Collaborator Author

@mcbarton mcbarton Mar 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ai may be explaining why you chose to make that change to the yml file, but what has this change had to do with Use dated ROOT/llvm tag to build Cling 1.3? it had nothing to do with that. It was a very disruptive commit which causes all other PRs editing the ci to have a merge conflict.

Again, I don't know why the big diff for that file. I used Github to fix the merge conflict. I used main.yml as it was, and just removed the llvm 19 jobs. That might say Githubs default is CRLF maybe?

Copy link
Copy Markdown
Collaborator Author

@mcbarton mcbarton Mar 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now everytime someone contributes the ci from a Windows platform (or uses Github since that is where I made this change) which still uses /r/n we just supposed to say sorry, we cannot have your change. Seems very strange.

Copy link
Copy Markdown
Collaborator

@aaronj0 aaronj0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please revert CRLF encoding on main.yml

@vgvassilev
Copy link
Copy Markdown
Contributor

Should we land the llvm22 support first so that we always support at least 3 versions?

@mcbarton
Copy link
Copy Markdown
Collaborator Author

Should we land the llvm22 support first so that we always support at least 3 versions?

I can get the support for llvm 22 for the non oop jobs relatively quickly, depending on how disruptive this missing header error turns out to be #812 (comment) , which was introduced by the cuda work.

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@aaronj0 aaronj0 dismissed their stale review March 27, 2026 10:40

Addressed, thanks

Copy link
Copy Markdown
Collaborator

@aaronj0 aaronj0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 9, 2026

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@github-actions
Copy link
Copy Markdown
Contributor

clang-tidy review says "All clean, LGTM! 👍"

@vgvassilev
Copy link
Copy Markdown
Contributor

For some reason the CI decided to rebuild caches and I've cancelled the builds as they seem irrelevant for what this PR is doing.

@vgvassilev vgvassilev merged commit 5a1ef35 into compiler-research:main Apr 22, 2026
30 of 33 checks passed
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.

3 participants