File tree 8 files changed +9
-9
lines changed
extension/flat_tensor/serialize
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)
486
486
include (ExternalProject)
487
487
488
488
ExternalProject_Add(
489
- host_flatc
489
+ flatc
490
490
PREFIX ${CMAKE_CURRENT_BINARY_DIR} /third-party/flatbuffers
491
491
SOURCE_DIR ${CMAKE_SOURCE_DIR} /third-party/flatbuffers
492
492
CMAKE_ARGS -DFLATBUFFERS_BUILD_FLATC=ON
@@ -500,7 +500,7 @@ if(EXECUTORCH_BUILD_FLATC)
500
500
-DCMAKE_CXX_FLAGS=-DFLATBUFFERS_MAX_ALIGNMENT=1024
501
501
INSTALL_COMMAND ""
502
502
)
503
- ExternalProject_Get_Property(host_flatc BINARY_DIR)
503
+ ExternalProject_Get_Property(flatc BINARY_DIR)
504
504
set (FLATC_EXECUTABLE ${BINARY_DIR} /flatc)
505
505
506
506
endif ()
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ add_custom_command(
50
50
"${_mps_schema__include_dir} /executorch/backends/apple/mps"
51
51
${_mps_schema__srcs}
52
52
WORKING_DIRECTORY ${EXECUTORCH_ROOT}
53
- DEPENDS host_flatc
53
+ DEPENDS flatc
54
54
COMMENT "Generating mps_schema headers"
55
55
VERBATIM
56
56
)
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ add_custom_command(
49
49
OUTPUT qcir_schema_output
50
50
COMMAND ${FLATC_EXECUTABLE} --cpp --cpp-std c++11 --scoped-enums -o
51
51
${qcir_schema_include_dir} ${qcir_schema_include_dir} /qcir.fbs
52
- DEPENDS host_flatc
52
+ DEPENDS flatc
53
53
COMMENT "Generating qualcomm ir schema headers"
54
54
VERBATIM
55
55
)
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ add_custom_command(
92
92
${FLATC_EXECUTABLE} --cpp --cpp-std c++11 --scoped-enums -o
93
93
"${SCHEMA_INCLUDE_DIR} /executorch/backends/vulkan/serialization/" ${_vulkan_schema__srcs}
94
94
WORKING_DIRECTORY ${EXECUTORCH_ROOT}
95
- DEPENDS host_flatc
95
+ DEPENDS flatc
96
96
COMMENT "Generating vulkan_schema headers"
97
97
VERBATIM
98
98
)
Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ add_custom_command(
82
82
${_xnnpack_schema__srcs}
83
83
COMMAND mv ${_xnnpack_flatbuffer__outputs} ${_xnnpack_schema__outputs}
84
84
WORKING_DIRECTORY ${EXECUTORCH_ROOT}
85
- DEPENDS host_flatc
85
+ DEPENDS flatc
86
86
COMMENT "Generating xnnpack_schema headers"
87
87
VERBATIM
88
88
)
Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ add_custom_command(
205
205
"${_bundled_schema__include_dir} /executorch/devtools/bundled_program/schema"
206
206
${_bundled_program_schema__srcs}
207
207
WORKING_DIRECTORY ${CMAKE_BINARY_DIR} /devtools
208
- DEPENDS host_flatc ${_bundled_program_schema__srcs}
208
+ DEPENDS flatc ${_bundled_program_schema__srcs}
209
209
COMMENT "Generating bundled_program headers"
210
210
VERBATIM
211
211
)
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function(generate_flat_tensor_schema _schema_srcs _schema_name)
37
37
${FLATC_EXECUTABLE} --cpp --cpp-std c++11 --gen-mutable --scoped-enums -o
38
38
"${_flat_tensor_schema__output_dir} " ${_schema_srcs}
39
39
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
40
- DEPENDS host_flatc ${_schema_srcs}
40
+ DEPENDS flatc ${_schema_srcs}
41
41
COMMENT "Generating ${_schema_name} headers"
42
42
VERBATIM
43
43
)
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ function(generate_program_schema _schema_srcs _schema_name)
37
37
${FLATC_EXECUTABLE} --cpp --cpp-std c++11 --gen-mutable --scoped-enums -o
38
38
"${_program_schema__output_dir} " ${_schema_srcs}
39
39
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
40
- DEPENDS host_flatc ${_schema_srcs}
40
+ DEPENDS flatc ${_schema_srcs}
41
41
COMMENT "Generating ${_schema_name} headers"
42
42
VERBATIM
43
43
)
You can’t perform that action at this time.
0 commit comments