[all-commits] [llvm/llvm-project] 482d22: [clang][test] Fix -DBUILD_SHARED_LIBS build by add...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Fri Mar 17 07:46:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 482d22d05a4a30a4f8594273bd359f7d311c9d4c
      https://github.com/llvm/llvm-project/commit/482d22d05a4a30a4f8594273bd359f7d311c9d4c
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-03-17 (Fri, 17 Mar 2023)

  Changed paths:
    M clang/lib/Testing/CMakeLists.txt

  Log Message:
  -----------
  [clang][test] Fix -DBUILD_SHARED_LIBS build by adding depency on MC from clangTesting

Commit 34de7da6246cdfa6ff6f3d3c514583cddc0a10ec (D143436) introduced a
dependency on the TargetRegistry in `getAnyTargetForTesting`. This is
part of MC, which wasn't listed in clang/lib/Testing/CMakeLists.txt.
This broke the -DBUILD_SHARED_LIBS=True builds.




More information about the All-commits mailing list