Skip to content

[SYCL][E2E] Fix SYCLBIN/link_mixed_opt_(input|object).cpp tests on Windows #19694

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
Aug 4, 2025

Conversation

dm-vodopyanov
Copy link
Contributor

No description provided.

@dm-vodopyanov
Copy link
Contributor Author

Merging as the patch is Windows-only and does not affect PVC on Linux

@dm-vodopyanov dm-vodopyanov merged commit 3db71aa into intel:sycl Aug 4, 2025
39 of 41 checks passed
@@ -17,7 +17,7 @@
// once fixed.
// REQUIRES: target-spir

// RUN: %clangxx --offload-new-driver -fsyclbin=input -fsycl-allow-device-image-dependencies -O0 %S/Inputs/exporting_function.cpp -o %t.export.syclbin
// RUN: %clangxx --offload-new-driver -fsyclbin=input -fsycl-allow-device-image-dependencies %if cl_options %{/Od%} %else %{-O0%} %S/Inputs/exporting_function.cpp -o %t.export.syclbin
Copy link
Contributor

Choose a reason for hiding this comment

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

FYI: We have %O0 which does the trick:

config.substitutions.append(("%O0", "/Od"))

config.substitutions.append(("%O0", "-O0"))

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