Skip to content

Cyclic dependency when building shared libraries #331

Description

@bkmgit

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions