diff --git a/sycl/test-e2e/IntermediateLib/dynamic_app_linux.cpp b/sycl/test-e2e/IntermediateLib/dynamic_app_linux.cpp index b9285ca681b22..9518502314fd5 100644 --- a/sycl/test-e2e/IntermediateLib/dynamic_app_linux.cpp +++ b/sycl/test-e2e/IntermediateLib/dynamic_app_linux.cpp @@ -2,7 +2,7 @@ // build shared library // RUN: rm -rf %t.dir; mkdir -p %t.dir -// RUN: %clangxx -fsycl -fPIC -shared -o %t.dir/simple_lib.so %S/Inputs/simple_lib.cpp +// RUN: %clangxx -fsycl -fPIC %shared_lib -o %t.dir/simple_lib.so %S/Inputs/simple_lib.cpp // build app // RUN: %clangxx -DSO_PATH="%t.dir/simple_lib.so" -o %t.out %s %if preview-mode %{-Wno-unused-command-line-argument%} diff --git a/sycl/test-e2e/IntermediateLib/multi_lib_app.cpp b/sycl/test-e2e/IntermediateLib/multi_lib_app.cpp index ab2aa14adfc8a..09f572ba05201 100644 --- a/sycl/test-e2e/IntermediateLib/multi_lib_app.cpp +++ b/sycl/test-e2e/IntermediateLib/multi_lib_app.cpp @@ -23,9 +23,9 @@ // RUN: rm -rf %t.dir ; mkdir -p %t.dir // RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} -DSO_PATH='R"(%t.dir)"' -o %t.out %s -// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} -shared -DINC=1 -o %t.dir/lib_a.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp -// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} -shared -DINC=2 -o %t.dir/lib_b.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp -// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} -shared -DINC=4 -o %t.dir/lib_c.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp +// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} %shared_lib -DINC=1 -o %t.dir/lib_a.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp +// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} %shared_lib -DINC=2 -o %t.dir/lib_b.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp +// RUN: %{run-aux} %clangxx -fsycl %{fPIC_flag} %shared_lib -DINC=4 -o %t.dir/lib_c.%{shared_lib_ext} %S/Inputs/incrementing_lib.cpp // RUN: env UR_L0_LEAKS_DEBUG=1 %{run} %t.out