ohmtech-rdi / eurorack-blocks

Software to Hardware Prototyping for Eurorack using C++, Max/Gen~ or Faust
Other
303 stars 21 forks source link

Toolchain msys2 mingw64 #503

Closed ohmtech-rdi closed 1 year ago

ohmtech-rdi commented 1 year ago

This PR changes the way erbb setup install the MSYS2 Ming64 tools we use to build the simulator and use cairo to produce graphics (making the panel in different formats).

It does so by directly copying the relevant file rather than relying on the MSYS2 package manager. In practice, our users can have different configurations and it becomes difficult to make sure eurorack-blocks is directly installed. To circumvent this:

To ensure we select properly our tools, we manipulate the PATH, but do this from within python. This ensures:

Removing the dependency on msys2 also removes one manual installation, and make the eurorack-blocks installation more lean.

Finally, the method we use is similar to the one chosen for Daisy.