diff --git a/sycl/test-e2e/Regression/commandlist/gpu.cpp b/sycl/test-e2e/Regression/commandlist/gpu.cpp index 21c584f986de5..552f0f1109b1e 100644 --- a/sycl/test-e2e/Regression/commandlist/gpu.cpp +++ b/sycl/test-e2e/Regression/commandlist/gpu.cpp @@ -1,4 +1,4 @@ -// REQUIRES: gpu, linux +// REQUIRES: gpu -// RUN: %clangxx -Wno-error=vla-cxx-extension -fsycl -fsycl-targets=%{sycl_triple} %S/Inputs/FindPrimesSYCL.cpp %S/Inputs/main.cpp -o %t.out -lpthread +// RUN: %clangxx -Wno-error=vla-cxx-extension -fsycl -fsycl-targets=%{sycl_triple} %S/Inputs/FindPrimesSYCL.cpp %S/Inputs/main.cpp -o %t.out %threads_lib // RUN: %{run} %t.out diff --git a/sycl/test-e2e/Scheduler/CommandCleanupThreadSafety.cpp b/sycl/test-e2e/Scheduler/CommandCleanupThreadSafety.cpp index 36c16320196a6..e112428e2ddb6 100644 --- a/sycl/test-e2e/Scheduler/CommandCleanupThreadSafety.cpp +++ b/sycl/test-e2e/Scheduler/CommandCleanupThreadSafety.cpp @@ -1,5 +1,4 @@ -// UNSUPPORTED: windows -// RUN: %{build} -o %t.out -lpthread +// RUN: %{build} -o %t.out %threads_lib // RUN: %{run} %t.out #include diff --git a/sycl/test-e2e/syclcompat/device/device_threaded.cpp b/sycl/test-e2e/syclcompat/device/device_threaded.cpp index d42c71849c759..37735548168c7 100644 --- a/sycl/test-e2e/syclcompat/device/device_threaded.cpp +++ b/sycl/test-e2e/syclcompat/device/device_threaded.cpp @@ -29,9 +29,7 @@ // //===----------------------------------------------------------------------===// -// REQUIRES: linux - -// RUN: %{build} -lpthread -o %t.out +// RUN: %{build} %threads_lib -o %t.out // RUN: %{run} %t.out #include