cairo-by-example icon indicating copy to clipboard operation
cairo-by-example copied to clipboard

Modify `installer.sh` to download the binaries of cairo instead of compiling it.

Open SantiagoPittella opened this issue 2 years ago • 2 comments

We can use the binaries from Starkware's repo directly: https://github.com/starkware-libs/cairo/releases ATM we are downloading the repo and compiling.

Using the binary will reduce drastically the installation, since it needs first to install rust and then compiles all the targets of the cairo repo.

SantiagoPittella avatar Aug 22 '23 18:08 SantiagoPittella

ATM the binary does not support Windows OS.

SantiagoPittella avatar Aug 22 '23 18:08 SantiagoPittella

Right now the CI is taking 15 minutes to install Cairo, with this change it should be reduced to ~10 secs.

SantiagoPittella avatar Aug 22 '23 18:08 SantiagoPittella