[all-commits] [llvm/llvm-project] 4eb092: [llvm][compiler-rt] Connect lit dependencies to te...

Daniel Rodríguez Troitiño via All-commits all-commits at lists.llvm.org
Wed Feb 14 15:49:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4eb092d9f8999338fd4c7ef65268649636b7f86a
      https://github.com/llvm/llvm-project/commit/4eb092d9f8999338fd4c7ef65268649636b7f86a
  Author: Daniel Rodríguez Troitiño <drodriguez at users.noreply.github.com>
  Date:   2024-02-14 (Wed, 14 Feb 2024)

  Changed paths:
    M compiler-rt/test/CMakeLists.txt
    M llvm/CMakeLists.txt

  Log Message:
  -----------
  [llvm][compiler-rt] Connect lit dependencies to test-depends targets. (#81783)

compiler-rt was creating the test-depends targets and trying to fill its
dependencies with a variable, but the variable was empty because it was
supposed to take its value from a property. The changes in this commit
grab the value of the property and add them as dependencies.

The changes in llvm are to remove the usage of `DEPENDS` arguments from
`add_custom_target`, which according to the documentation is reserved
for files/outputs created by `add_custom_command`. Use
`add_dependencies` instead.

This is similar to the changes introduced in
4eb84582344f97167b6a2b4cb1fb1d75ae07897e for runtimes.




More information about the All-commits mailing list