File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -103,7 +103,6 @@ function(generate_bindings_for_kernels)
103103 set (_out_dir ${CMAKE_CURRENT_BINARY_DIR} /${GEN_LIB_NAME} )
104104 # By default selective build output is selected_operators.yaml
105105 set (_oplist_yaml ${_out_dir} /selected_operators.yaml)
106- set (_opvariants_h ${_out_dir} /selected_op_variants.h)
107106
108107 # Command to codegen C++ wrappers to register custom ops to both PyTorch and
109108 # Executorch runtime.
@@ -144,13 +143,14 @@ function(generate_bindings_for_kernels)
144143 ${_out_dir} /RegisterSchema.cpp ${_out_dir} /CustomOpsNativeFunctions.h
145144 )
146145 endif ()
147-
146+
148147 add_custom_command (
149148 COMMENT "Generating code for kernel registration"
150149 OUTPUT ${_gen_command_sources}
151150 COMMAND ${_gen_command}
152- DEPENDS ${_oplist_yaml} ${_opvariants_h} ${GEN_CUSTOM_OPS_YAML} ${GEN_FUNCTIONS_YAML}
153- ${_codegen_templates} ${_torchgen_srcs}
151+ DEPENDS ${_oplist_yaml} ${GEN_CUSTOM_OPS_YAML}
152+ ${GEN_FUNCTIONS_YAML} ${_codegen_templates}
153+ ${_torchgen_srcs}
154154 WORKING_DIRECTORY ${EXECUTORCH_ROOT}
155155 )
156156 # Make generated file list available in parent scope
You can’t perform that action at this time.
0 commit comments