From 5e61f8fbc14274a63376d1e23ffe67a105839785 Mon Sep 17 00:00:00 2001 From: David Garcia Orozco Date: Wed, 20 Nov 2024 14:50:56 -0700 Subject: [PATCH] [SYCL][E2E] Use `/clang:` when using MSVC driver on bindless images test (#16140) this should fix the compfail on this test when using clang-cl. --- .../bindless_images/dx12_interop/read_write_unsampled.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sycl/test-e2e/bindless_images/dx12_interop/read_write_unsampled.cpp b/sycl/test-e2e/bindless_images/dx12_interop/read_write_unsampled.cpp index 3f4e6e433643f..9985b27a0c4a9 100644 --- a/sycl/test-e2e/bindless_images/dx12_interop/read_write_unsampled.cpp +++ b/sycl/test-e2e/bindless_images/dx12_interop/read_write_unsampled.cpp @@ -1,7 +1,8 @@ // REQUIRES: aspect-ext_oneapi_bindless_images // REQUIRES: windows -// RUN: %{build} -l d3d12 -l dxgi -l dxguid -o %t.out +// DEFINE: %{link-flags}=%if cl_options %{ /clang:-ld3d12 /clang:-ldxgi /clang:-ldxguid %} %else %{ -ld3d12 -ldxgi -ldxguid %} +// RUN: %{build} %{link-flags} -o %t.out // RUN: %{run-unfiltered-devices} env NEOReadDebugKeys=1 UseBindlessMode=1 UseExternalAllocatorForSshAndDsh=1 %t.out #pragma clang diagnostic ignored "-Waddress-of-temporary"