Skip to content

Commit 52e71c6

Browse files
[SYCL][E2E] switch out -shared for %shared_lib for icx-win (#20485)
1 parent d4893f7 commit 52e71c6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sycl/test-e2e/IntermediateLib/dynamic_app_linux.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
// build shared library
44
// RUN: rm -rf %t.dir; mkdir -p %t.dir
5-
// RUN: %clangxx -fsycl -fPIC -shared -o %t.dir/simple_lib.so %S/Inputs/simple_lib.cpp
5+
// RUN: %clangxx -fsycl -fPIC %shared_lib -o %t.dir/simple_lib.so %S/Inputs/simple_lib.cpp
66

77
// build app
88
// RUN: %clangxx -DSO_PATH="%t.dir/simple_lib.so" -o %t.out %s %if preview-mode %{-Wno-unused-command-line-argument%}

sycl/test-e2e/IntermediateLib/multi_lib_app.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@
2323
// RUN: rm -rf %t.dir ; mkdir -p %t.dir
2424
// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} -DSO_PATH='R"(%t.dir)"' -o %t.out %s
2525

26-
// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} -shared -DINC=1 -o %t.dir/lib_a.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
27-
// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} -shared -DINC=2 -o %t.dir/lib_b.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
28-
// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} -shared -DINC=4 -o %t.dir/lib_c.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
26+
// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} %shared_lib -DINC=1 -o %t.dir/lib_a.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
27+
// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} %shared_lib -DINC=2 -o %t.dir/lib_b.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
28+
// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} %shared_lib -DINC=4 -o %t.dir/lib_c.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp
2929

3030
// RUN: env UR_L0_LEAKS_DEBUG=1 %{run} %t.out
3131

0 commit comments

Comments
 (0)