File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
sycl/test-e2e/IntermediateLib Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change 1
1
// UNSUPPORTED: cuda || hip
2
2
// UNSUPPORTED-TRACKER: CMPLRLLVM-69415
3
3
4
- // UNSUPPORTED: windows
5
- // UNSUPPORTED-TRACKER: https://github.com/intel/llvm/issues/20023
6
-
7
4
// DEFINE: %{fPIC_flag} = %if windows %{%} %else %{-fPIC%}
8
5
// DEFINE: %{shared_lib_ext} = %if windows %{dll%} %else %{so%}
9
6
17
14
// So the hack here is to put heredoc in the definition
18
15
// and use single quotes, which Python forgivingly accepts.
19
16
// clang-format on
17
+
18
+ // On Windows, the CI sometimes builds on one machine and runs on another.
19
+ // This means that %T might not be consistent between build and run.
20
+ // So we use %{run-aux} to perform ALL actions on the run machine
21
+ // like we do for the AoT tests.
20
22
21
- // RUN: %{build } %{fPIC_flag} -DSO_PATH='R"(%T)"' -o %t.out
23
+ // RUN: %{run-aux } %clangxx -fsycl % {fPIC_flag} -DSO_PATH='R"(%T)"' -o %t.out %s
22
24
23
- // RUN: %clangxx -fsycl %{fPIC_flag} -shared -DINC=1 -o %T/lib_a.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
24
- // RUN: %clangxx -fsycl %{fPIC_flag} -shared -DINC=2 -o %T/lib_b.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
25
- // RUN: %clangxx -fsycl %{fPIC_flag} -shared -DINC=4 -o %T/lib_c.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
25
+ // RUN: %{run-aux} % clangxx -fsycl %{fPIC_flag} -shared -DINC=1 -o %T/lib_a.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
26
+ // RUN: %{run-aux} % clangxx -fsycl %{fPIC_flag} -shared -DINC=2 -o %T/lib_b.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
27
+ // RUN: %{run-aux} % clangxx -fsycl %{fPIC_flag} -shared -DINC=4 -o %T/lib_c.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
26
28
27
29
// RUN: env UR_L0_LEAKS_DEBUG=1 %{run} %t.out
28
30
You can’t perform that action at this time.
0 commit comments