[PATCH] D119479: [clang][extract-api] Add global record support
Zixu Wang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Feb 23 09:51:50 PST 2022
zixuw added a comment.
In D119479#3339220 <https://reviews.llvm.org/D119479#3339220>, @MaskRay wrote:
> 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
Huh I pulled in clangIndex to generate USRs, but didn't try building shared libs. I'll see what I can do.
Good find! Thanks for taking a look!
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