llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[opencl-aot][sycl][CMake][MSVC]: Wrap Linker flags for ICX

Open Maetveis opened this issue 1 year ago • 0 comments

From CMake 3.25+ linker options need to be wrapped for ICX on Windows. Use the LINKER: prefix, which expands to the correct option for ICX, and for the empty string for MSVC or clang-cl.

See also LLVM RFC: https://discourse.llvm.org/t/rfc-cmake-linker-flags-need-wl-equivalent-for-intel-c-icx-on-windows/82446

Fixes: #15755

Maetveis avatar Oct 18 '24 14:10 Maetveis