[llvm] a299178 - [cmake] Fix -stripped for umbrella library install targets
Shoaib Meenai via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 20 18:46:58 PDT 2020
Author: Shoaib Meenai
Date: 2020-03-20T18:46:48-07:00
New Revision: a299178ae77a9d0c7d66f50d17483b7d18898ef0
URL: https://github.com/llvm/llvm-project/commit/a299178ae77a9d0c7d66f50d17483b7d18898ef0
DIFF: https://github.com/llvm/llvm-project/commit/a299178ae77a9d0c7d66f50d17483b7d18898ef0.diff
LOG: [cmake] Fix -stripped for umbrella library install targets
Make the install-llvm-libraries-stripped and install-clang-libraries-stripped
targets depend on the individual library stripped install targets, so
that they actually install the libraries.
Added:
Modified:
clang/CMakeLists.txt
llvm/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt
index dc1413f4b597..db82d87b181f 100644
--- a/clang/CMakeLists.txt
+++ b/clang/CMakeLists.txt
@@ -588,6 +588,7 @@ if(CLANG_LIBS)
add_dependencies(clang-libraries ${lib})
if(NOT LLVM_ENABLE_IDE)
add_dependencies(install-clang-libraries install-${lib})
+ add_dependencies(install-clang-libraries-stripped install-${lib}-stripped)
endif()
endforeach()
endif()
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index a70178ee8bed..a4326377a0c3 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -1072,6 +1072,7 @@ if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY)
add_dependencies(llvm-libraries ${lib})
if (NOT LLVM_ENABLE_IDE)
add_dependencies(install-llvm-libraries install-${lib})
+ add_dependencies(install-llvm-libraries-stripped install-${lib}-stripped)
endif()
endforeach()
endif()
More information about the llvm-commits
mailing list