File tree Expand file tree Collapse file tree 3 files changed +1
-18
lines changed
Expand file tree Collapse file tree 3 files changed +1
-18
lines changed Original file line number Diff line number Diff line change @@ -65,6 +65,7 @@ set(lib_list
6565 neuron_backend
6666 qnn_executorch_backend
6767 portable_ops_lib
68+ custom_ops
6869 extension_module
6970 extension_module_static
7071 extension_parallel
Original file line number Diff line number Diff line change @@ -84,14 +84,6 @@ if(CMAKE_TOOLCHAIN_IOS OR ANDROID)
8484 target_link_options_shared_lib(executorch)
8585endif ()
8686
87- # custom ops library
88- if (EXECUTORCH_BUILD_KERNELS_CUSTOM)
89- add_subdirectory (
90- ${CMAKE_CURRENT_SOURCE_DIR} /../../../extension/llm/custom_ops
91- ${CMAKE_CURRENT_BINARY_DIR} /../../../extension/llm/custom_ops
92- )
93- endif ()
94-
9587# llama_runner library
9688add_subdirectory (runner)
9789
@@ -119,7 +111,6 @@ target_link_options_shared_lib(quantized_ops_lib)
119111list (APPEND link_libraries quantized_kernels quantized_ops_lib)
120112
121113if (EXECUTORCH_BUILD_KERNELS_CUSTOM)
122- target_link_options_shared_lib(custom_ops)
123114 list (APPEND link_libraries custom_ops)
124115endif ()
125116
Original file line number Diff line number Diff line change @@ -93,14 +93,6 @@ if(CMAKE_TOOLCHAIN_IOS OR ANDROID)
9393 target_link_options_shared_lib(executorch)
9494endif ()
9595
96- # custom ops library
97- if (EXECUTORCH_BUILD_KERNELS_CUSTOM)
98- add_subdirectory (
99- ${EXECUTORCH_ROOT} /extension/llm/custom_ops
100- ${CMAKE_CURRENT_BINARY_DIR} /../../../extension/llm/custom_ops
101- )
102- endif ()
103-
10496# llava_runner library
10597add_subdirectory (runner)
10698
@@ -132,7 +124,6 @@ target_link_options_shared_lib(quantized_ops_lib)
132124list (APPEND link_libraries quantized_kernels quantized_ops_lib)
133125
134126if (EXECUTORCH_BUILD_KERNELS_CUSTOM)
135- target_link_options_shared_lib(custom_ops)
136127 list (APPEND link_libraries custom_ops)
137128endif ()
138129
You can’t perform that action at this time.
0 commit comments