File tree Expand file tree Collapse file tree 8 files changed +9
-9
lines changed
extension/flat_tensor/serialize Expand file tree Collapse file tree 8 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -486,7 +486,7 @@ if(EXECUTORCH_BUILD_FLATC)
486486 include (ExternalProject)
487487
488488 ExternalProject_Add(
489- host_flatc
489+ flatc
490490 PREFIX ${CMAKE_CURRENT_BINARY_DIR} /third-party/flatbuffers
491491 SOURCE_DIR ${CMAKE_SOURCE_DIR} /third-party/flatbuffers
492492 CMAKE_ARGS -DFLATBUFFERS_BUILD_FLATC=ON
@@ -500,7 +500,7 @@ if(EXECUTORCH_BUILD_FLATC)
500500 -DCMAKE_CXX_FLAGS=-DFLATBUFFERS_MAX_ALIGNMENT=1024
501501 INSTALL_COMMAND ""
502502 )
503- ExternalProject_Get_Property(host_flatc BINARY_DIR)
503+ ExternalProject_Get_Property(flatc BINARY_DIR)
504504 set (FLATC_EXECUTABLE ${BINARY_DIR} /flatc)
505505
506506endif ()
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ add_custom_command(
5050 "${_mps_schema__include_dir} /executorch/backends/apple/mps"
5151 ${_mps_schema__srcs}
5252 WORKING_DIRECTORY ${EXECUTORCH_ROOT}
53- DEPENDS host_flatc
53+ DEPENDS flatc
5454 COMMENT "Generating mps_schema headers"
5555 VERBATIM
5656)
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ add_custom_command(
4949 OUTPUT qcir_schema_output
5050 COMMAND ${FLATC_EXECUTABLE} --cpp --cpp-std c++11 --scoped-enums -o
5151 ${qcir_schema_include_dir} ${qcir_schema_include_dir} /qcir.fbs
52- DEPENDS host_flatc
52+ DEPENDS flatc
5353 COMMENT "Generating qualcomm ir schema headers"
5454 VERBATIM
5555)
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ add_custom_command(
9292 ${FLATC_EXECUTABLE} --cpp --cpp-std c++11 --scoped-enums -o
9393 "${SCHEMA_INCLUDE_DIR} /executorch/backends/vulkan/serialization/" ${_vulkan_schema__srcs}
9494 WORKING_DIRECTORY ${EXECUTORCH_ROOT}
95- DEPENDS host_flatc
95+ DEPENDS flatc
9696 COMMENT "Generating vulkan_schema headers"
9797 VERBATIM
9898)
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ add_custom_command(
8282 ${_xnnpack_schema__srcs}
8383 COMMAND mv ${_xnnpack_flatbuffer__outputs} ${_xnnpack_schema__outputs}
8484 WORKING_DIRECTORY ${EXECUTORCH_ROOT}
85- DEPENDS host_flatc
85+ DEPENDS flatc
8686 COMMENT "Generating xnnpack_schema headers"
8787 VERBATIM
8888)
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ add_custom_command(
205205 "${_bundled_schema__include_dir} /executorch/devtools/bundled_program/schema"
206206 ${_bundled_program_schema__srcs}
207207 WORKING_DIRECTORY ${CMAKE_BINARY_DIR} /devtools
208- DEPENDS host_flatc ${_bundled_program_schema__srcs}
208+ DEPENDS flatc ${_bundled_program_schema__srcs}
209209 COMMENT "Generating bundled_program headers"
210210 VERBATIM
211211)
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function(generate_flat_tensor_schema _schema_srcs _schema_name)
3737 ${FLATC_EXECUTABLE} --cpp --cpp-std c++11 --gen-mutable --scoped-enums -o
3838 "${_flat_tensor_schema__output_dir} " ${_schema_srcs}
3939 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
40- DEPENDS host_flatc ${_schema_srcs}
40+ DEPENDS flatc ${_schema_srcs}
4141 COMMENT "Generating ${_schema_name} headers"
4242 VERBATIM
4343 )
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function(generate_program_schema _schema_srcs _schema_name)
3737 ${FLATC_EXECUTABLE} --cpp --cpp-std c++11 --gen-mutable --scoped-enums -o
3838 "${_program_schema__output_dir} " ${_schema_srcs}
3939 WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
40- DEPENDS host_flatc ${_schema_srcs}
40+ DEPENDS flatc ${_schema_srcs}
4141 COMMENT "Generating ${_schema_name} headers"
4242 VERBATIM
4343 )
You can’t perform that action at this time.
0 commit comments