You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From CMake 3.25 onwards when using the Intel C++ Compiler linking flags need to be wrapped with LINKER: or /Qoption,link because CMake uses the compiler driver for linking.
If the options are not wrapped they are ignored by icx with a warning. In the reproducer I set the linker to error on unknown flags.
Describe the bug
From CMake 3.25 onwards when using the Intel C++ Compiler linking flags need to be wrapped with LINKER: or /Qoption,link because CMake uses the compiler driver for linking.
If the options are not wrapped they are ignored by icx with a warning. In the reproducer I set the linker to error on unknown flags.
To reproduce
[LLVM][CMake][MSVC] Wrap linker flags for ICX on Windows llvm/llvm-project#112680
[clang-repl][CMake][MSVC] Wrap /EXPORT linker option for ICX llvm/llvm-project#112867
Wrap linker flags on Windows for IntelLLLVM oneapi-src/unified-runtime#2179
Expected:
Compilation succeeds without any errors.
Observed:
Compilation fails with errors like:
Environment
Additional context
No response
The text was updated successfully, but these errors were encountered: