Commit c7a78ee
committed
[lld][cmake] install symlinks when built standalone
lld installs symlinks with llvm_install_symlink, which relies on the
variable LLVM_USE_SYMLINKS to determine whether to use symlinks or
copies. Since that variable is defined in llvm's CMakeLists.txt, it may
not be defined when lld is built standalone. In that case, default to
using symlinks on Unix platforms. Users can still override this by
setting LLVM_USE_SYMLINKS manually.
Fixes #151557.
Signed-off-by: Ruoyu Zhong <[email protected]>1 parent b2574c9 commit c7a78ee
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
76 | 81 | | |
77 | 82 | | |
78 | 83 | | |
| |||
0 commit comments