[all-commits] [llvm/llvm-project] 7e73f8: [clang-repl][CMake][MSVC] Wrap /EXPORT linker opti...
Mészáros Gergely via All-commits
all-commits at lists.llvm.org
Fri Oct 18 02:37:00 PDT 2024
Branch: refs/heads/users/maetveis/wrap-icx-clang
Home: https://github.com/llvm/llvm-project
Commit: 7e73f8639116406e92003b06c1b523b9e3249530
https://github.com/llvm/llvm-project/commit/7e73f8639116406e92003b06c1b523b9e3249530
Author: Gergely Meszaros <gergely.meszaros at intel.com>
Date: 2024-10-18 (Fri, 18 Oct 2024)
Changed paths:
M clang/tools/clang-repl/CMakeLists.txt
M clang/unittests/Interpreter/CMakeLists.txt
Log Message:
-----------
[clang-repl][CMake][MSVC] Wrap /EXPORT linker option for ICX
The Intel C++ Compiler (ICX) passes linker flags through the driver
unlike MSVC and clang-cl, and therefore needs them to be prefixed with
`/Qoption,link` (the equivalent of -Wl, for gcc on *nix).
Use the `LINKER:` prefix for the `/EXPORT:` options in clang-repl, this
expands to the correct flag for ICX and nothing for MSVC / clang-cl.
RFC: https://discourse.llvm.org/t/rfc-cmake-linker-flags-need-wl-equivalent-for-intel-c-icx-on-windows/82446
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list