@@ -39,17 +39,6 @@ if(${ANDROID})
39
39
find_library (android_log log )
40
40
endif ()
41
41
42
- set (qcir_schema_include_dir ${CMAKE_CURRENT_LIST_DIR} /aot/ir )
43
- set (qcir_schema_output ${qcir_schema_include_dir} /qcir_generated.h )
44
- add_custom_command (
45
- OUTPUT qcir_schema_output
46
- COMMAND flatc --cpp --cpp-std c++11 --scoped-enums -o
47
- ${qcir_schema_include_dir} ${qcir_schema_include_dir} /qcir.fbs
48
- DEPENDS flatc
49
- COMMENT "Generating qualcomm ir schema headers"
50
- VERBATIM
51
- )
52
-
53
42
add_compile_options ("-Wall" "-Werror" "-Wno-sign-compare" )
54
43
add_compile_definitions (C10_USING_CUSTOM_GENERATED_MACROS )
55
44
@@ -73,7 +62,6 @@ include_directories(
73
62
${_common_include_directories}
74
63
${QNN_SDK_ROOT} /include/QNN
75
64
${QNN_SDK_ROOT} /share/QNN/converter/jni
76
- ${EXECUTORCH_SOURCE_DIR} /third-party/flatbuffers/include
77
65
${EXECUTORCH_SOURCE_DIR} /runtime/core/portable_type/c10
78
66
)
79
67
@@ -112,8 +100,6 @@ include_directories(
112
100
# declare targets
113
101
#
114
102
add_library (executorch_backend INTERFACE )
115
- add_library (qcir INTERFACE qcir_schema_output )
116
- add_library (qcir_utils STATIC )
117
103
add_library (qnn_backend STATIC )
118
104
add_library (qnn_backend_cache STATIC )
119
105
add_library (qnn_backend_options STATIC )
@@ -143,7 +129,6 @@ add_library(utils STATIC)
143
129
#
144
130
# declare dependency
145
131
#
146
- target_link_libraries (qcir_utils PRIVATE qcir )
147
132
target_link_libraries (wrappers PRIVATE qnn_executorch_logging )
148
133
target_link_libraries (
149
134
qnn_implementation PRIVATE qnn_function_interface qnn_executorch_logging
@@ -228,10 +213,6 @@ add_subdirectory(
228
213
${QNN_EXECUTORCH_ROOT_DIR} /aot/wrappers
229
214
${CMAKE_CURRENT_BINARY_DIR} /qnn_executorch/wrappers
230
215
)
231
- add_subdirectory (
232
- ${QNN_EXECUTORCH_ROOT_DIR} /aot/ir
233
- ${CMAKE_CURRENT_BINARY_DIR} /qnn_executorch/ir
234
- )
235
216
install (
236
217
TARGETS qnn_executorch_backend
237
218
EXPORT ExecuTorchTargets
0 commit comments