[PATCH] [Closed] D25067: [CMake] Support symlinks even with LLVM_INSTALL_TOOLCHAIN_ONLY
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 29 23:38:18 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL282844: [CMake] Support symlinks even with LLVM_INSTALL_TOOLCHAIN_ONLY (authored by phosek).
Changed prior to commit:
https://reviews.llvm.org/D25067?vs=72985&id=72986#toc
Repository:
rL LLVM
https://reviews.llvm.org/D25067
Files:
llvm/trunk/cmake/modules/AddLLVM.cmake
Index: llvm/trunk/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake
+++ llvm/trunk/cmake/modules/AddLLVM.cmake
@@ -1264,11 +1264,11 @@
set_target_properties(${target_name} PROPERTIES FOLDER Tools)
# Make sure both the link and target are toolchain tools
- if (NOT ${name} IN_LIST LLVM_TOOLCHAIN_TOOLS OR NOT ${dest} IN_LIST LLVM_TOOLCHAIN_TOOLS)
- return()
+ if (${name} IN_LIST LLVM_TOOLCHAIN_TOOLS AND ${dest} IN_LIST LLVM_TOOLCHAIN_TOOLS)
+ set(TOOL_IS_TOOLCHAIN ON)
endif()
- if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY AND LLVM_BUILD_TOOLS )
+ if ((TOOL_IS_TOOLCHAIN OR NOT LLVM_INSTALL_TOOLCHAIN_ONLY) AND LLVM_BUILD_TOOLS)
llvm_install_symlink(${name} ${dest})
endif()
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25067.72986.patch
Type: text/x-patch
Size: 821 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160930/244256e8/attachment.bin>
More information about the llvm-commits
mailing list