mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 03:55:04 -05:00
Replace the macros `LOG_VERBOSE` and `LOG_ERROR` with C++-style streams retrieved through `log_verbose()` and `log_error()`. This aligns with the `MLIR` infrastructure and avoids pollution of the global namespace through a common header file in subsequent refactoring commits splitting the functionality of `src/main.cpp` into multiple files.
Building the compiler
Generate the compiler build system, in the build directory
cmake -B build . -DLLVM_DIR=$LLVM_PROJECT/build/lib/cmake/llvm -DMLIR_DIR=$LLVM_PROJECT/build/lib/cmake/mlir
Build the compiler
make -C build/ zamacompiler
Run the compiler
./build/src/zamacompiler