[all-commits] [llvm/llvm-project] c7511b: [lldb] Correctly add runtime test dependencies

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Aug 31 16:37:54 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c7511b4ecf45c174c43d9177b843f15e2f3bd68b
      https://github.com/llvm/llvm-project/commit/c7511b4ecf45c174c43d9177b843f15e2f3bd68b
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-08-31 (Wed, 31 Aug 2022)

  Changed paths:
    M lldb/test/CMakeLists.txt

  Log Message:
  -----------
  [lldb] Correctly add runtime test dependencies

When a runtime is enabled through LLVM_ENABLE_RUNTIMES, it is loaded
after other projects (i.e. after LLDB). This means that the
corresponding targets don't exist when LLDB is configured. To support
runtimes being enable this way, we need to check if they're listed in
LLVM_ENABLE_RUNTIMES. For runtimes being enabled as projects (i.e.
through LLVM_ENABLE_RUNTIMES) we need to check for the target.

This patch unifies things and correctly adds compiler-rt and libcxx as
test dependencies in both scenarios.




More information about the All-commits mailing list