llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Charles Zablit (charles-zablit) <details> <summary>Changes</summary> Fixes https://github.com/llvm/llvm-project/issues/189158 by copying the required dependencies of lldb. --- Full diff: https://github.com/llvm/llvm-project/pull/196070.diff 1 Files Affected: - (modified) lldb/CMakeLists.txt (+22) ``````````diff diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt index 2aaf75dd87bc3..5653ef5c1dbca 100644 --- a/lldb/CMakeLists.txt +++ b/lldb/CMakeLists.txt @@ -147,6 +147,28 @@ if (LLDB_ENABLE_LUA) finish_swig_lua("lldb-lua" "${lldb_lua_bindings_dir}" "${LLDB_LUA_CPATH}") endif() +set(lldb_runtime_install_deps) +if(TARGET install-liblldb) + list(APPEND lldb_runtime_install_deps liblldb) +endif() +if(LLDB_ENABLE_PYTHON AND TARGET install-lldb-python-scripts) + list(APPEND lldb_runtime_install_deps lldb-python-scripts) +endif() +if(LLDB_ENABLE_LUA AND TARGET install-lldb-lua-library) + list(APPEND lldb_runtime_install_deps lldb-lua-library) +endif() + +foreach(lldb_tool lldb lldb-dap) + foreach(dep ${lldb_runtime_install_deps}) + if(TARGET install-${lldb_tool} AND TARGET install-${dep}) + add_dependencies(install-${lldb_tool} install-${dep}) + endif() + if(TARGET install-${lldb_tool}-stripped AND TARGET install-${dep}-stripped) + add_dependencies(install-${lldb_tool}-stripped install-${dep}-stripped) + endif() + endforeach() +endforeach() + set(LLDB_INCLUDE_UNITTESTS ON) if (NOT TARGET llvm_gtest) set(LLDB_INCLUDE_UNITTESTS OFF) `````````` </details> https://github.com/llvm/llvm-project/pull/196070 _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
