Skip to content

Commit

Permalink
ci: shallow clone starkware-libs/cairo (#1753)
Browse files Browse the repository at this point in the history
This makes installing deps much quicker.
  • Loading branch information
Oppen committed May 9, 2024
1 parent 5da72d9 commit fd14d0d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cairo1-run/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,7 @@ TRACES:=$(patsubst $(CAIRO_1_FOLDER)/%.cairo, $(CAIRO_1_FOLDER)/%.trace, $(CAIRO
MEMORY:=$(patsubst $(CAIRO_1_FOLDER)/%.cairo, $(CAIRO_1_FOLDER)/%.memory, $(CAIRO_1_PROGRAMS))

deps:
git clone https://github.com/starkware-libs/cairo.git \
&& cd cairo \
&& git checkout v2.6.3 \
&& cd .. \
git clone --depth=1 -b v2.6.3 https://github.com/starkware-libs/cairo.git \
&& mv cairo/corelib/ . \
&& rm -rf cairo/

Expand Down

0 comments on commit fd14d0d

Please sign in to comment.