opencilk-project icon indicating copy to clipboard operation
opencilk-project copied to clipboard

Cyclic dependency when building shared libraries

Open bkmgit opened this issue 6 months ago • 3 comments
trafficstars

Describe the bug

CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle):
  "LLVMipo" of type SHARED_LIBRARY
    depends on "LLVMTapirOpts" (weak)
  "LLVMTapirOpts" of type SHARED_LIBRARY
    depends on "LLVMipo" (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.

Expected behavior

CMake should be able to resolve dependencies

OpenCilk version

Built from source:

  • 3,0-rc2

System information

  • OS: Fedora Rawhide (43)
  • CPU: x86_64, Aarch64

Steps to reproduce (include relevant output)

https://koji.fedoraproject.org/koji/taskinfo?taskID=132305620 https://kojipkgs.fedoraproject.org//work/tasks/5762/132305762/build.log

bkmgit avatar May 04 '25 12:05 bkmgit