Skip to content

Commit 3ccc8ec

Browse files
[SYCL][E2E] dynamic_compress.cpp fix (#20446)
This test started failing after llvm/llvm-project@7ff6973f1 We used to just build the libs in the same directory as the app, but now they are in a subdirectory. Picking up ALL the lib files like we do on Linux should work. --------- Signed-off-by: Chris Perkins <[email protected]>
1 parent 9e58dc3 commit 3ccc8ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sycl/test-e2e/DeviceImageDependencies/dynamic_compress.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
// REQUIRES: zstd
55

6-
// XFAIL: (windows && run-mode) || target-native_cpu
6+
// XFAIL: target-native_cpu
77
// XFAIL-TRACKER: https://github.com/intel/llvm/issues/20397
88

99
// DEFINE: %{dynamic_lib_options} = -fsycl %fPIC %shared_lib -fsycl-allow-device-image-dependencies -I %S/Inputs %if windows %{-DMAKE_DLL %}
@@ -31,8 +31,8 @@
3131
// RUN: -fsycl-allow-device-image-dependencies -fsycl-device-code-split=per_kernel \
3232
// RUN: %S/Inputs/basic.cpp -o %t.out \
3333
// RUN: %if windows \
34-
// RUN: %{%t.dir/libdevicecompress_a.lib%} \
34+
// RUN: %{%t.dir/libdevicecompress_a.lib %t.dir/libdevicecompress_b.lib %t.dir/libdevicecompress_c.lib %t.dir/libdevicecompress_d.lib%} \
3535
// RUN: %else \
3636
// RUN: %{-L%t.dir -ldevicecompress_a -ldevicecompress_b -ldevicecompress_c -ldevicecompress_d -Wl,-rpath=%t.dir%}
3737

38-
// RUN: %{run} %t.out
38+
// RUN: %if windows %{ cmd /c "set PATH=%t.dir;%PATH% && %{run} %t.out" %} %else %{ %{run} %t.out %}

0 commit comments

Comments
 (0)