[PATCH] D40685: [libunwind] Switch to add_llvm_install_targets
dtzWill added a comment. Okay, that makes sense. Thanks for accommodating my use-case anyway! :D. Repository: rL LLVM https://reviews.llvm.org/D40685 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D40685: [libunwind] Switch to add_llvm_install_targets
smeenai added a comment. The other runtime projects had the stripped installation targets added manually because they officially support being built completely standalone (i.e. without any LLVM components), so we can't rely on LLVM's CMake there. That's really unfortunate IMO, since it leads to a bunch of duplication, but it is what it is. libunwind doesn't support building completely standalone AFAIK, so I think assuming trunk libunwind will be paired with trunk LLVM is pretty reasonable in general. It's easy enough to not break your use case here, however, so I went ahead and did so in r320163. Repository: rL LLVM https://reviews.llvm.org/D40685 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D40685: [libunwind] Switch to add_llvm_install_targets
dtzWill added a comment. Hmm, this change means very recent LLVM is required to build libunwind-- previously I was able to use recent libunwind/libcxx/libcxxabi with LLVM 5 and LLVM 4. Other runtime projects (compiler-rt, libcxx, libcxxabi) were modified to support the new "strip-and-install" targets such that they didn't depend on LLVM cmake bits, could that sort of approach work here? Repository: rL LLVM https://reviews.llvm.org/D40685 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D40685: [libunwind] Switch to add_llvm_install_targets
This revision was automatically updated to reflect the committed changes. Closed by commit rL319498: [libunwind] Switch to add_llvm_install_targets (authored by smeenai). Repository: rL LLVM https://reviews.llvm.org/D40685 Files: libunwind/trunk/src/CMakeLists.txt Index: libunwind/trunk/src/CMakeLists.txt === --- libunwind/trunk/src/CMakeLists.txt +++ libunwind/trunk/src/CMakeLists.txt @@ -139,9 +139,7 @@ endif() if (NOT CMAKE_CONFIGURATION_TYPES AND LIBUNWIND_INSTALL_LIBRARY) - add_custom_target(install-unwind -DEPENDS unwind -COMMAND "${CMAKE_COMMAND}" --DCMAKE_INSTALL_COMPONENT=unwind --P "${LIBUNWIND_BINARY_DIR}/cmake_install.cmake") + add_llvm_install_targets(install-unwind + DEPENDS unwind + COMPONENT unwind) endif() Index: libunwind/trunk/src/CMakeLists.txt === --- libunwind/trunk/src/CMakeLists.txt +++ libunwind/trunk/src/CMakeLists.txt @@ -139,9 +139,7 @@ endif() if (NOT CMAKE_CONFIGURATION_TYPES AND LIBUNWIND_INSTALL_LIBRARY) - add_custom_target(install-unwind -DEPENDS unwind -COMMAND "${CMAKE_COMMAND}" --DCMAKE_INSTALL_COMPONENT=unwind --P "${LIBUNWIND_BINARY_DIR}/cmake_install.cmake") + add_llvm_install_targets(install-unwind + DEPENDS unwind + COMPONENT unwind) endif() ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D40685: [libunwind] Switch to add_llvm_install_targets
beanz accepted this revision. beanz added a comment. This revision is now accepted and ready to land. LGTM. https://reviews.llvm.org/D40685 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
[PATCH] D40685: [libunwind] Switch to add_llvm_install_targets
smeenai created this revision. Herald added a subscriber: mgorny. This gains us the install-unwind-stripped target, to perform stripping during installation. https://reviews.llvm.org/D40685 Files: src/CMakeLists.txt Index: src/CMakeLists.txt === --- src/CMakeLists.txt +++ src/CMakeLists.txt @@ -139,9 +139,7 @@ endif() if (NOT CMAKE_CONFIGURATION_TYPES AND LIBUNWIND_INSTALL_LIBRARY) - add_custom_target(install-unwind -DEPENDS unwind -COMMAND "${CMAKE_COMMAND}" --DCMAKE_INSTALL_COMPONENT=unwind --P "${LIBUNWIND_BINARY_DIR}/cmake_install.cmake") + add_llvm_install_targets(install-unwind + DEPENDS unwind + COMPONENT unwind) endif() Index: src/CMakeLists.txt === --- src/CMakeLists.txt +++ src/CMakeLists.txt @@ -139,9 +139,7 @@ endif() if (NOT CMAKE_CONFIGURATION_TYPES AND LIBUNWIND_INSTALL_LIBRARY) - add_custom_target(install-unwind -DEPENDS unwind -COMMAND "${CMAKE_COMMAND}" --DCMAKE_INSTALL_COMPONENT=unwind --P "${LIBUNWIND_BINARY_DIR}/cmake_install.cmake") + add_llvm_install_targets(install-unwind + DEPENDS unwind + COMPONENT unwind) endif() ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits