1 set(LLVM_LINK_COMPONENTS
6 # New mlir-linalg-ods-yaml-gen.
7 add_mlir_tool(mlir-linalg-ods-yaml-gen
8 mlir-linalg-ods-yaml-gen.cpp
10 llvm_update_compile_flags(mlir-linalg-ods-yaml-gen)
11 target_link_libraries(mlir-linalg-ods-yaml-gen PRIVATE
17 setup_host_tool(mlir-linalg-ods-yaml-gen MLIR_LINALG_ODS_YAML_GEN MLIR_LINALG_ODS_YAML_GEN_EXE MLIR_LINALG_ODS_YAML_GEN_TARGET)
19 if(NOT ${MLIR_LINALG_ODS_YAML_GEN_EXE} STREQUAL "mlir-linalg-ods-yaml-gen")
20 add_custom_target(mlir-linalg-ods-yaml-gen-host DEPENDS ${MLIR_LINALG_ODS_YAML_GEN_EXE})
21 set_target_properties(mlir-linalg-ods-yaml-gen-host PROPERTIES FOLDER "MLIR/Tablegenning")
23 if(NOT LLVM_BUILD_UTILS)
24 set_target_properties(mlir-linalg-ods-yaml-gen PROPERTIES EXCLUDE_FROM_ALL ON)
29 update_core_linalg_named_ops.sh.in
30 ${MLIR_TOOLS_DIR}/update_core_linalg_named_ops.sh)