On Mon, Apr 23 2018, Brian Callahan <bcal...@devio.us> wrote:
> Hi ports --
>
> Attached is an update to MuseScore. Wondering if there's any Ninja gurus
> here who can figure out the circular dependencies going on (see diff).
> I had to use USE_NINJA=No in order to get MuseScore to build.
>
> In case there isn't a good Ninja solution, ok?

Not a cmake/ninja guru but I thought I'd take a look at their pull
requests, and I found this:

  https://github.com/musescore/MuseScore/pull/2772

and more precisely:

  Fix ninja build errors due to mops1 and mops2 dependency cycles

  dependency cycle: mops1 -> CMakeFiles/mops1 -> all.h -> mops1
  dependency cycle: all.h -> mops2 -> CMakeFiles/mops2 -> all.h.gch -> all.h

  
https://github.com/musescore/MuseScore/pull/2772/commits/810586f52e21b1ac1d15ae81af2a1f809f4ea4b2

I'm not sure that just commenting those deps is the solution, but at
least you have some data.  Maybe just renaming the dependencies would be
enough?

-- 
jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF  DDCC 0DFA 74AE 1524 E7EE

Reply via email to