[all-commits] [llvm/llvm-project] d462f6: Revert "cmake: add missing dependencies on Attribu...

Jon Roelofs via All-commits all-commits at lists.llvm.org
Wed Aug 9 10:47:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d462f65b8242a82d2430605a741825bf10ebaca0
      https://github.com/llvm/llvm-project/commit/d462f65b8242a82d2430605a741825bf10ebaca0
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M llvm/unittests/Analysis/CMakeLists.txt
    M llvm/utils/TableGen/CMakeLists.txt

  Log Message:
  -----------
  Revert "cmake: add missing dependencies on Attributes.inc"

This reverts commit 30b4351c7c75296dc60fc887212cdc98e85e9996.

This caused a dependency cycle that the Swift build picked up on:

```
CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
  "llvm-tblgen" of type EXECUTABLE
    depends on "LLVMCodeGenTypes" (weak)
    depends on "LLVMTableGenGlobalISel" (weak)
    depends on "intrinsics_gen" (strong)
  "LLVMTableGenGlobalISel" of type STATIC_LIBRARY
    depends on "LLVMCodeGenTypes" (weak)
    depends on "vt_gen" (strong)
  "vt_gen" of type UTILITY
    depends on "llvm-tblgen" (strong)
  "autogen_intrinsics_RISCV" of type UTILITY
    depends on "llvm-tblgen" (strong)
  "intrinsics_gen" of type UTILITY
    depends on "llvm-tblgen" (strong)
    depends on "autogen_intrinsics_RISCV" (strong)
  "LLVMCodeGenTypes" of type STATIC_LIBRARY
    depends on "vt_gen" (strong)
```

rdar://113636528




More information about the All-commits mailing list