Thread overview
Mir library dependency cycle
Aug 12, 2021
Kirill
Aug 12, 2021
9il
Aug 12, 2021
Kirill
August 12, 2021

I created a new project with dub, added mir library and then tried to compile and run an example. But dub refuses:

Detected dependency cycle: mir->mir

How can I bypass this?

August 12, 2021

On Thursday, 12 August 2021 at 10:14:50 UTC, Kirill wrote:

>

I created a new project with dub, added mir library and then tried to compile and run an example. But dub refuses:

Detected dependency cycle: mir->mir

How can I bypass this?

Looks like a dub bug. Are you sure you need exactly mir package? Any reason not to use mir-algorithm?

August 12, 2021

On Thursday, 12 August 2021 at 10:32:58 UTC, 9il wrote:

>

On Thursday, 12 August 2021 at 10:14:50 UTC, Kirill wrote:

>

I created a new project with dub, added mir library and then tried to compile and run an example. But dub refuses:

Detected dependency cycle: mir->mir

How can I bypass this?

Looks like a dub bug. Are you sure you need exactly mir package? Any reason not to use mir-algorithm?

Thanks, I tried to fetch individual package I need. It worked.