-
Notifications
You must be signed in to change notification settings - Fork 769
[CI] Uplift clang 13->15 in post-commit #7672
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's see if focal has clang-15. If not, we can combine this change with #7671.
It has it seems: https://apt.llvm.org/focal/dists/ |
I see that pre-commit has been restarted. Sorry for the noise. |
Yep. I've restarted it manually after post-commit become green again. |
Had to rebase, because post-commit is not using the current head of the repo. |
Still fails. Is it due to compiler update or just unfortunate commit? I see that post-commit has been failing recently. |
I think this is real this time, i.e. related to compiler update. I haven't see this issue in other post-commits. |
@zahiraam, can you take a look?
Problem here is that clang-15 recognizes sycl_special_class attribute by __has_attribute(sycl_special_class), but why "attribute ignored" warning is produced? Related to https://reviews.llvm.org/D114483 |
Tagging @intel/dpcpp-cfe-reviewers |
This diff should fix the issue: -#if __has_attribute(sycl_special_class) I am still in the process of testing it. But if you are pressed for time, you might want to cherry pick this and see if that fixes the build issue with clang-15? |
I confirm it works. I can submit a PR unless you already did. |
Fixes unrecognized attribute warning when code is compiled in C++ mode. Discovered at intel#7672.
Update post-commit task where we build SYCL toolchain with clang instead of GCC
The only task "Linux + Clang + Shared libs (pull_request)" for this change is clean. Merging in. |
Update post-commit task where we build SYCL toolchain with clang instead of GCC