Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit 2d6858c

Browse files
[SYCL] Fix output of fsycl-host-compiler-win.cpp when clang++ is used (#1316)
fsycl-host-compiler-win.cpp currently assumes that clang-cl will be used on Windows, while there is no guarantee for that. This commit changes the test to use the -o option for output, which will work on both clang-cl and clang++, instead of /Fe which is only supported by clang-cl. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent d142785 commit 2d6858c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCL/Regression/fsycl-host-compiler-win.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-host-compiler=cl -DDEFINE_CHECK -fsycl-host-compiler-options="-DDEFINE_CHECK /std:c++17 /Zc:__cplusplus" /Fe%t.exe %s
1+
// RUN: %clangxx -fsycl -fsycl-targets=%sycl_triple -fsycl-host-compiler=cl -DDEFINE_CHECK -fsycl-host-compiler-options="-DDEFINE_CHECK /std:c++17 /Zc:__cplusplus" -o %t.exe %s
22
// RUN: %CPU_RUN_PLACEHOLDER %t.exe
33
// RUN: %GPU_RUN_PLACEHOLDER %t.exe
44
// RUN: %ACC_RUN_PLACEHOLDER %t.exe

0 commit comments

Comments
 (0)