summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-ar/install_symlink.cmake
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-06-09 21:50:22 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-06-09 21:50:22 +0000
commitbc05163f15cdff70cf2be97d8f48af08b5e87ea5 (patch)
tree39c799c35f948f949806bd4c83a7ae79f62c085f /llvm/tools/llvm-ar/install_symlink.cmake
parentf12c030f4879e2bf2caca21976f5de9ba8c48bdd (diff)
downloadbcm5719-llvm-bc05163f15cdff70cf2be97d8f48af08b5e87ea5.tar.gz
bcm5719-llvm-bc05163f15cdff70cf2be97d8f48af08b5e87ea5.zip
LibDriver, llvm-lib: introduce.
llvm-lib is intended to be a lib.exe compatible utility that also understands bitcode. The implementation lives in a library so that lld can use it to implement /lib. Differential Revision: http://reviews.llvm.org/D10297 llvm-svn: 239434
Diffstat (limited to 'llvm/tools/llvm-ar/install_symlink.cmake')
-rw-r--r--llvm/tools/llvm-ar/install_symlink.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/tools/llvm-ar/install_symlink.cmake b/llvm/tools/llvm-ar/install_symlink.cmake
index e313897b8b3..d48431b128d 100644
--- a/llvm/tools/llvm-ar/install_symlink.cmake
+++ b/llvm/tools/llvm-ar/install_symlink.cmake
@@ -23,3 +23,9 @@ message("Creating llvm-ranlib")
execute_process(
COMMAND "${CMAKE_COMMAND}" -E ${LINK_OR_COPY} "llvm-ar${EXECUTABLE_SUFFIX}" "llvm-ranlib${EXECUTABLE_SUFFIX}"
WORKING_DIRECTORY "${bindir}")
+
+message("Creating llvm-lib")
+
+execute_process(
+ COMMAND "${CMAKE_COMMAND}" -E ${LINK_OR_COPY} "llvm-ar${EXECUTABLE_SUFFIX}" "llvm-lib${EXECUTABLE_SUFFIX}"
+ WORKING_DIRECTORY "${bindir}")
OpenPOWER on IntegriCloud