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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits