Skip to content

Commit 000fba1

Browse files
0x12CCmdtoguchi
andauthored
[SYCL][NFC] Use /clang:-std= instead of /std: to set C++ standard (#18828)
The two options are similar but `/clang:-std=` works for C++ 23 on Windows. --------- Signed-off-by: Michael Aziz <[email protected]> Co-authored-by: Michael Toguchi <[email protected]>
1 parent eb951dc commit 000fba1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/test-e2e/lit.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ def open_check_file(file_name):
574574
)
575575
config.substitutions.append(("%include_option", "/FI"))
576576
config.substitutions.append(("%debug_option", "/Zi /DEBUG"))
577-
config.substitutions.append(("%cxx_std_option", "/std:"))
577+
config.substitutions.append(("%cxx_std_option", "/clang:-std="))
578578
config.substitutions.append(("%fPIC", ""))
579579
config.substitutions.append(("%shared_lib", "/LD"))
580580
config.substitutions.append(("%O0", "/Od"))

0 commit comments

Comments
 (0)