[PATCH] D62891: CMake: Use symlinks also on MSYS
Orgad Shaneh via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 4 23:04:01 PDT 2019
orgads created this revision.
orgads added reviewers: smeenai, beanz, compnerd, zturner.
orgads added a project: LLVM.
Herald added subscribers: llvm-commits, mgorny.
Repository:
rL LLVM
https://reviews.llvm.org/D62891
Files:
cmake/modules/AddLLVM.cmake
cmake/modules/LLVMInstallSymlink.cmake
Index: cmake/modules/LLVMInstallSymlink.cmake
===================================================================
--- cmake/modules/LLVMInstallSymlink.cmake
+++ cmake/modules/LLVMInstallSymlink.cmake
@@ -3,7 +3,7 @@
# See PR8397.
function(install_symlink name target outdir)
- if(CMAKE_HOST_UNIX)
+ if(CMAKE_HOST_UNIX OR MSYS)
set(LINK_OR_COPY create_symlink)
set(DESTDIR $ENV{DESTDIR})
else()
Index: cmake/modules/AddLLVM.cmake
===================================================================
--- cmake/modules/AddLLVM.cmake
+++ cmake/modules/AddLLVM.cmake
@@ -1531,7 +1531,7 @@
endif()
endif()
- if(CMAKE_HOST_UNIX)
+ if(CMAKE_HOST_UNIX OR MSYS)
set(LLVM_LINK_OR_COPY create_symlink)
else()
set(LLVM_LINK_OR_COPY copy)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62891.203082.patch
Type: text/x-patch
Size: 768 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190605/cddd895f/attachment.bin>
More information about the llvm-commits
mailing list