Files
concrete/compiler/src/CMakeLists.txt
Andi Drebes 9f3615513b feat(compiler): Add new dialect SDFG for static data flow graphs
This adds a new dialect called "SDFG" for data flow graphs. An SDFG
data flow graph is composed of a set of processes, connected through
data streams. Special streams allow for data to be injected into and
to be retrieved from the data flow graph.

The dialect is intended to be lowered to API calls that allow for
offloading of the graph on hardware accelerators.
2022-12-08 14:54:14 +01:00

28 lines
785 B
CMake

add_llvm_tool(concretecompiler main.cpp)
target_compile_options(concretecompiler PRIVATE -fexceptions)
llvm_update_compile_flags(concretecompiler)
get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS)
get_property(conversion_libs GLOBAL PROPERTY MLIR_CONVERSION_LIBS)
add_dependencies(concretecompiler mlir-headers)
target_link_libraries(
concretecompiler
PRIVATE ${dialect_libs}
${conversion_libs}
MLIRTransforms
BConcreteDialect
ConcreteDialect
TFHEDialect
FHEDialect
SDFGDialect
ConcretelangSupport
ConcretelangTransforms
MLIRIR
MLIRLLVMIRTransforms
MLIRLLVMToLLVMIRTranslation
RTDialect)
mlir_check_all_link_libraries(concretecompiler)