mlir/unittests/ExecutionEngine/CMakeLists.txt
raw| 1 | set(LLVM_LINK_COMPONENTS |
| 2 | nativecodegen |
| 3 | native |
| 4 | orcjit |
| 5 | support |
| 6 | ) |
| 7 | |
| 8 | add_mlir_unittest(MLIRExecutionEngineTests |
| 9 | DynamicMemRef.cpp |
| 10 | StridedMemRef.cpp |
| 11 | Invoke.cpp |
| 12 | ) |
| 13 | get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS) |
| 14 | |
| 15 | mlir_target_link_libraries(MLIRExecutionEngineTests |
| 16 | PRIVATE |
| 17 | MLIRArithToLLVM |
| 18 | MLIRMemRefToLLVM |
| 19 | MLIRReconcileUnrealizedCasts |
| 20 | ${dialect_libs} |
| 21 | ) |
| 22 | target_link_libraries(MLIRExecutionEngineTests |
| 23 | PRIVATE |
| 24 | MLIRExecutionEngine |
| 25 | ) |