Skip to content

[SYCL][Clang] Rename -Wno-libspirv-hip-cuda to -Wunsafe-libspirv-not-linked #19053

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

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

Maetveis
Copy link
Contributor

@Maetveis Maetveis commented Jun 18, 2025

IMO there are a few problems with the current name:

  • Its negative option form -Wno-no-libspirv-hip-cuda is very awkward.
  • It is very specific about the HIP or CUDA backend, which does not allow for future expansion to other backends, that might use libspirv.
  • It's not descriptive: without the context of the error message, its not at all clear what the warning is about.

…ot-linked`

IMO there are a few problems with the current name:
- Its negative option form `-Wno-no-libspirv-hip-cuda` is very awkward.
- It is very specific about the HIP or CUDA backend, which does not allow
  for future expansion to other backend, that could use libspirv.
- It's not very descriptive in general: in other words, without the
  context of the error message, what it does.
@Maetveis Maetveis requested review from a team as code owners June 18, 2025 14:47
@Maetveis
Copy link
Contributor Author

Ping @intel/dpcpp-clang-driver-reviewers @intel/dpcpp-cfe-reviewers

@Maetveis
Copy link
Contributor Author

@intel/llvm-gatekeepers this is ready to merge.

@dm-vodopyanov dm-vodopyanov merged commit f6a9c4d into intel:sycl Jun 24, 2025
25 checks passed
@Maetveis Maetveis deleted the rename_option branch June 24, 2025 15:29
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.

4 participants