Files
concrete/compiler/README.md
2021-05-18 10:57:48 +02:00

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
```