Skip to content

[SYCL][E2E] Fix SDK detection on Windows #17792

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 2 commits into from
Apr 2, 2025
Merged

[SYCL][E2E] Fix SDK detection on Windows #17792

merged 2 commits into from
Apr 2, 2025

Conversation

sarnex
Copy link
Contributor

@sarnex sarnex commented Apr 2, 2025

The shlex.quote API doesn't do the right thing on Windows and that is documented here, so do it manually.

Manually verified it's broken without this change and this fixes it.

I looked and couldn't find any single utility that covers this functionality.

@sarnex sarnex temporarily deployed to WindowsCILock April 2, 2025 01:48 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock April 2, 2025 02:07 — with GitHub Actions Inactive
@sarnex sarnex temporarily deployed to WindowsCILock April 2, 2025 02:07 — with GitHub Actions Inactive
@sarnex sarnex marked this pull request as ready for review April 2, 2025 14:23
@sarnex sarnex requested a review from a team as a code owner April 2, 2025 14:23
Signed-off-by: Sarnie, Nick <[email protected]>
@sarnex sarnex merged commit 4150bdf into intel:sycl Apr 2, 2025
11 of 14 checks passed
iclsrc pushed a commit that referenced this pull request Apr 24, 2025
This introduces a new diagnostic group (-Wimplicit-void-ptr-cast),
grouped under -Wc++-compat, which diagnoses implicit conversions from
void * to another pointer type in C. It's a common source of
incompatibility with C++ and is something GCC diagnoses (though GCC does
not have a specific warning group for this).

Fixes #17792
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