1set(LLVM_LINK_COMPONENTS 2 Support 3 ) 4 5get_property(dialect_libs GLOBAL PROPERTY MLIR_DIALECT_LIBS) 6get_property(translation_libs GLOBAL PROPERTY MLIR_TRANSLATION_LIBS) 7 8add_llvm_executable(standalone-translate 9 standalone-translate.cpp 10 ) 11llvm_update_compile_flags(standalone-translate) 12target_link_libraries(standalone-translate 13 PRIVATE 14 ${dialect_libs} 15 ${translation_libs} 16 MLIRIR 17 MLIRParser 18 MLIRPass 19 MLIRSPIRV 20 MLIRTranslation 21 MLIRSupport 22 ) 23 24mlir_check_link_libraries(standalone-translate) 25