Skip to content

Commit

Permalink
Cairo v0.4.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
liorgold2 committed Sep 1, 2021
1 parent 76d48b7 commit 7526bff
Show file tree
Hide file tree
Showing 180 changed files with 9,750 additions and 3,232 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ubuntu:18.04
FROM ciimage/python:3.7

RUN apt update
RUN apt install -y cmake python3.7 libgmp3-dev g++ python3-pip python3.7-dev python3.7-venv npm
RUN apt install -y cmake libgmp3-dev g++ python3-pip python3.7-dev python3.7-venv npm

COPY . /app/

Expand Down
44 changes: 32 additions & 12 deletions LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,15 +1,35 @@
The files in this repository are governed by several licenses,
which are located under the licenses/ directory.
Cairo Toolchain License (Source Available)

All code in this project except for the files under
'src/starkware/cairo/apps/starkex2_0/' and its subdirectories is
subject to the Cairo Toolchain License (Source Available), which
can be found under 'licenses/CairoToolchainLicense.txt'.
Version 1.0 dated December 22, 2020

The code under 'src/starkware/cairo/apps/starkex2_0/' and its
subdirectories is subject to the Cairo Program License (Source
Available), which can be found under
'licenses/CairoProgramLicense.txt'.
This license contains the terms and conditions under which StarkWare
Industries, Ltd ("StarkWare") makes available its Cairo Toolchain
("Toolchain"). Your use of the Toolchain is subject to these terms and
conditions.

For more infromation regarding licenses visit
https://starkware.co/licenses/.
StarkWare grants you ("Licensee") a license to use the Toolchain, only
for the purpose of developing and compiling Cairo programs. Licensee's
use of the Toolchain is limited to non-commercial use, which means academic,
scientific, or research and development use, or evaluating the Cairo
language and Toolchain.

StarkWare grants Licensee a license to modify the Toolchain, only as
necessary to fix errors. Licensee may, but is not obligated to, provide
any of Licensee's modifications to StarkWare. This license grants Licensee no
right to distribute the Toolchain or make copies of the Toolchain available
to others.

These terms do not allow Licensee to sublicense or transfer any of Licensee's
rights to anyone else. These terms do not imply any other licenses not
expressly granted in this license.

If Licensee violates any of these terms, or uses the Toolchain in a way not
authorized under this license, the license granted to Licensee ends immediately.
If Licensee makes, or authorizes any other person to make, any written claim
that the Toolchain infringes or contributes to infringement of any patent, all
rights granted to Licensee under this license end immediately.

As far as the law allows, the Toolchain is provided AS IS, without any warranty
or condition, and StarkWare will not be liable to Licensee for any damages
arising out of these terms or the use or nature of the Toolchain, under any kind
of legal claim.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ We recommend starting from [Setting up the environment](https://cairo-lang.org/d
# Installation instructions

You should be able to download the python package zip file directly from
[github](https://github.com/starkware-libs/cairo-lang/releases/tag/v0.3.1)
[github](https://github.com/starkware-libs/cairo-lang/releases/tag/v0.4.0)
and install it using ``pip``.
See [Setting up the environment](https://cairo-lang.org/docs/quickstart.html).

Expand Down Expand Up @@ -54,7 +54,7 @@ Once the docker image is built, you can fetch the python package zip file using:

```bash
> container_id=$(docker create cairo)
> docker cp ${container_id}:/app/cairo-lang-0.3.1.zip .
> docker cp ${container_id}:/app/cairo-lang-0.4.0.zip .
> docker rm -v ${container_id}
```

37 changes: 0 additions & 37 deletions licenses/CairoProgramLicense.txt

This file was deleted.

35 changes: 0 additions & 35 deletions licenses/CairoToolchainLicense.txt

This file was deleted.

Loading

0 comments on commit 7526bff

Please sign in to comment.