[PATCH] D122313: Install symlink "otool" if LLVM_INSTALL_CCTOOLS_SYMLINKS is set
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 23 13:22:46 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG88da78ddd001: Install symlink "otool" if LLVM_INSTALL_CCTOOLS_SYMLINKS is set (authored by thakis).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122313/new/
https://reviews.llvm.org/D122313
Files:
llvm/tools/llvm-objdump/CMakeLists.txt
llvm/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn
Index: llvm/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn
===================================================================
--- llvm/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn
+++ llvm/utils/gn/secondary/llvm/tools/llvm-objdump/BUILD.gn
@@ -1,4 +1,5 @@
import("//llvm/tools/binutils_symlinks.gni")
+import("//llvm/tools/cctools_symlinks.gni")
import("//llvm/utils/TableGen/tablegen.gni")
import("//llvm/utils/gn/build/symlink_or_copy.gni")
@@ -16,6 +17,9 @@
if (llvm_install_binutils_symlinks) {
symlinks += [ "objdump" ]
}
+if (llvm_install_cctools_symlinks) {
+ symlinks += [ "otool" ]
+}
foreach(target, symlinks) {
symlink_or_copy(target) {
Index: llvm/tools/llvm-objdump/CMakeLists.txt
===================================================================
--- llvm/tools/llvm-objdump/CMakeLists.txt
+++ llvm/tools/llvm-objdump/CMakeLists.txt
@@ -44,3 +44,7 @@
if(LLVM_INSTALL_BINUTILS_SYMLINKS)
add_llvm_tool_symlink(objdump llvm-objdump)
endif()
+
+if(LLVM_INSTALL_CCTOOLS_SYMLINKS)
+ add_llvm_tool_symlink(otool llvm-otool)
+endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122313.417728.patch
Type: text/x-patch
Size: 1078 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220323/f6d9de25/attachment.bin>
More information about the llvm-commits
mailing list