Author: Jonas Devlieghere Date: 2022-07-25T09:28:56-07:00 New Revision: 52465dc17877d742aad737622e0da04aea2d72cb
URL: https://github.com/llvm/llvm-project/commit/52465dc17877d742aad737622e0da04aea2d72cb DIFF: https://github.com/llvm/llvm-project/commit/52465dc17877d742aad737622e0da04aea2d72cb.diff LOG: [lldb] Make compiler-rt an optional LLDB test dependency Make compiler-rt an LLDB test dependency if the corresponding target exists. Similarly we already have `asan` and `tsan` as optional test dependencies, but we need the `compiler-rt` target when enabling compiler-rt trough LLVM_ENABLE_RUNTIMES. Added: Modified: lldb/test/CMakeLists.txt Removed: ################################################################################ diff --git a/lldb/test/CMakeLists.txt b/lldb/test/CMakeLists.txt index 49626ce13a7ce..938420aea18ea 100644 --- a/lldb/test/CMakeLists.txt +++ b/lldb/test/CMakeLists.txt @@ -103,6 +103,10 @@ if(TARGET clang) add_lldb_test_dependency(tsan) endif() + if (TARGET compiler-rt) + add_lldb_test_dependency(compiler-rt) + endif() + if(APPLE AND NOT LLVM_TARGET_IS_CROSSCOMPILE_HOST) # FIXME: Standalone builds should import the cxx target as well. if(LLDB_BUILT_STANDALONE) _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits