Files
concrete/compiler/src/CMakeLists.txt
Ayoub Benaissa 7a2511b3d4 feat(compiler): LowLFHE dialect (#77)
* 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
2021-08-05 14:32:46 +01:00

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)