[all-commits] [llvm/llvm-project] 8d3ab9: Properly support LLVM_ENABLE_LLD on Windows
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Thu Dec 22 11:07:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8d3ab9dfc4d49062e045d6d5db419975b81da7e4
https://github.com/llvm/llvm-project/commit/8d3ab9dfc4d49062e045d6d5db419975b81da7e4
Author: serge-sans-paille <sguelton at mozilla.com>
Date: 2022-12-22 (Thu, 22 Dec 2022)
Changed paths:
M llvm/cmake/modules/HandleLLVMOptions.cmake
Log Message:
-----------
Properly support LLVM_ENABLE_LLD on Windows
Currently, setting -DLLVM_ENABLE_LLD=ON on windows also requires setting
-DCMAKE_LINKER=lld-link.exe. This is both misleading and redundant.
Fix this by trying to find llvm-link.exe when -DLLVM_ENABLE_LLD=ON is
set and CMAKE_LINKER is not, and aborting otherwise.
Differential Revision: https://reviews.llvm.org/D140534
More information about the All-commits
mailing list