#intermediate-representation #mlir #run-time #sierra #native #convert #compiler

cairo-native-runtime

A compiler to convert Cairo's intermediate representation Sierra code to MLIR

4 releases

new 0.2.0-alpha.4 Oct 16, 2024
0.2.0-alpha.3 Oct 11, 2024
0.2.0-alpha.2 Oct 3, 2024
0.2.0-alpha.1 Sep 27, 2024

#635 in Magic Beans

Download history 149/week @ 2024-09-24 178/week @ 2024-10-01 563/week @ 2024-10-08

890 downloads per month
Used in cairo-native

Apache-2.0

24KB
410 lines

The cairo native runtime

This runtime is used automatically when using JIT, but when using AOT, the library needs to be shipped and put in a path where it can be found by a linker.

Getting the library for use in AOT

git clone https://github.com/lambdaclass/cairo_native
cd cairo_native
make runtime
ls libcairo_native_runtime.*

# copy it where you need it, such as /usr/local/lib where it will be found by the linker

Dependencies

~14–22MB
~298K SLoC