mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-10 04:35:03 -05:00
19 lines
321 B
Markdown
19 lines
321 B
Markdown
# Building the compiler
|
|
|
|
Generate the compiler build system, in the `build` directory
|
|
|
|
```sh
|
|
cmake -B build . -DLLVM_DIR=$LLVM_PROJECT/build/lib/cmake/llvm -DMLIR_DIR=$LLVM_PROJECT/build/lib/cmake/mlir
|
|
```
|
|
|
|
Build the compiler
|
|
|
|
```sh
|
|
make -C build/ zamacompiler
|
|
```
|
|
|
|
Run the compiler
|
|
|
|
```sh
|
|
./build/src/zamacompiler
|
|
``` |