lambdaclass / cairo-by-example

cairo-by-example.com
https://cairo-by-example.com/
Apache License 2.0
39 stars 23 forks source link

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

Open SantiagoPittella opened 1 year ago

SantiagoPittella commented 1 year ago

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 commented 1 year ago

ATM the binary does not support Windows OS.

SantiagoPittella commented 1 year ago

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