[PATCH] D119479: [clang][extract-api] Add global record support

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 22 18:33:43 PST 2022


MaskRay added a comment.

There is a circular dependency if you use `-DBUILD_SHARED_LIBS=on`:

  CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
    "clangFrontend" of type SHARED_LIBRARY
      depends on "clangIndex" (weak)
    "clangIndex" of type SHARED_LIBRARY
      depends on "clangFrontend" (weak)
  At least one of these targets is not a STATIC_LIBRARY.  Cyclic dependencies are allowed only among static libraries.
  CMake Generate step failed.  Build files cannot be regenerated correctly.
  FAILED: build.ninja


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D119479/new/

https://reviews.llvm.org/D119479



More information about the cfe-commits mailing list