File tree 2 files changed +6
-3
lines changed
mlir/include/mlir/Dialect/Linalg/IR
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -2618,7 +2618,7 @@ function(get_host_tool_path tool_name setting_name exe_var_name target_var_name)
2618
2618
set (target_name "" )
2619
2619
elseif (LLVM_USE_HOST_TOOLS)
2620
2620
get_native_tool_path(${tool_name} exe_name)
2621
- set (target_name host_ ${tool_name } )
2621
+ set (target_name ${exe_name } )
2622
2622
else ()
2623
2623
set (exe_name $<TARGET_FILE:${tool_name} >)
2624
2624
set (target_name ${tool_name} )
@@ -2632,8 +2632,8 @@ function(setup_host_tool tool_name setting_name exe_var_name target_var_name)
2632
2632
# Set up a native tool build if necessary
2633
2633
if (LLVM_USE_HOST_TOOLS AND NOT ${setting_name} )
2634
2634
build_native_tool(${tool_name} exe_name DEPENDS ${tool_name} )
2635
- add_custom_target (${${ target_var_name} } DEPENDS ${exe_name} )
2635
+ add_custom_target (${target_var_name} DEPENDS ${exe_name} )
2636
2636
get_subproject_title(subproject_title)
2637
- set_target_properties (${${ target_var_name} } PROPERTIES FOLDER "${subproject_title} /Native" )
2637
+ set_target_properties (${target_var_name} PROPERTIES FOLDER "${subproject_title} /Native" )
2638
2638
endif ()
2639
2639
endfunction ()
Original file line number Diff line number Diff line change @@ -15,10 +15,13 @@ function(add_linalg_ods_yaml_gen yaml_ast_file output_file)
15
15
MAIN_DEPENDENCY
16
16
${YAML_AST_SOURCE}
17
17
DEPENDS
18
+ ${MLIR_LINALG_ODS_YAML_GEN_EXE}
18
19
${MLIR_LINALG_ODS_YAML_GEN_TARGET} )
19
20
add_custom_target (
20
21
MLIR${output_file} YamlIncGen
21
22
DEPENDS
23
+ ${MLIR_LINALG_ODS_YAML_GEN_EXE}
24
+ ${MLIR_LINALG_ODS_YAML_GEN_TARGET}
22
25
${GEN_ODS_FILE} ${GEN_CPP_FILE} )
23
26
set_target_properties (MLIR${output_file} YamlIncGen PROPERTIES FOLDER "MLIR/Tablegenning" )
24
27
list (APPEND LLVM_TARGET_DEPENDS ${GEN_ODS_FILE} )
You can’t perform that action at this time.
0 commit comments