mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-09 20:25:34 -05:00
* feat(compiler): low level fhe dialect * feat(compiler): using generated printer/parser in LowLFHE * feat(compiler): new types and ops for LowLFHE * tests(compiler): LowLFHE types and ops * feat(compiler): fill ops * cleanup * summary + description * tests(compiler): use new CLI args * formatting
26 lines
535 B
CMake
26 lines
535 B
CMake
add_llvm_tool(zamacompiler main.cpp)
|
|
target_compile_options(zamacompiler PRIVATE -fexceptions)
|
|
llvm_update_compile_flags(zamacompiler)
|
|
|
|
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
|
|
get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
|
|
|
|
target_link_libraries(zamacompiler
|
|
PRIVATE
|
|
${dialect_libs}
|
|
${conversion_libs}
|
|
|
|
MLIRTransforms
|
|
LowLFHEDialect
|
|
MidLFHEDialect
|
|
HLFHEDialect
|
|
|
|
MLIRIR
|
|
MLIRLLVMIR
|
|
MLIRLLVMToLLVMIRTranslation
|
|
|
|
ZamalangSupport
|
|
)
|
|
|
|
mlir_check_all_link_libraries(zamacompiler)
|