File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 7272 link_libraries
7373 executorch
7474 extension_data_loader
75+ extension_flat_tensor
7576 extension_module
7677 extension_runner_util
7778 extension_tensor
Original file line number Diff line number Diff line change @@ -27,9 +27,10 @@ if(CMAKE_TOOLCHAIN_IOS
2727else ()
2828 add_library (extension_module SHARED ${_extension_module__srcs} )
2929endif ()
30- target_link_libraries (extension_module PRIVATE executorch_core extension_data_loader)
31- # Expose the header include path
32- target_link_libraries (extension_module PUBLIC extension_flat_tensor)
30+ target_link_libraries (
31+ extension_module PRIVATE executorch_core extension_data_loader
32+ extension_flat_tensor
33+ )
3334target_include_directories (extension_module PUBLIC ${EXECUTORCH_ROOT} /..)
3435target_compile_options (
3536 extension_module PUBLIC -Wno-deprecated-declarations -fPIC
@@ -40,9 +41,8 @@ target_compile_options(
4041add_library (extension_module_static STATIC ${_extension_module__srcs} )
4142target_link_libraries (
4243 extension_module_static PRIVATE executorch_core extension_data_loader
44+ extension_flat_tensor
4345)
44- # Expose the header include path
45- target_link_libraries (extension_module_static PUBLIC extension_flat_tensor)
4646target_include_directories (extension_module_static PUBLIC ${EXECUTORCH_ROOT} /..)
4747target_compile_options (
4848 extension_module_static PUBLIC -Wno-deprecated-declarations -fPIC
Original file line number Diff line number Diff line change @@ -196,9 +196,9 @@ filters = [
196196 " .cpp$" ,
197197]
198198deps = [
199+ " executorch_core" ,
199200 " extension_flat_tensor_schema" ,
200201 " extension_data_loader" ,
201- " executorch" ,
202202]
203203
204204[targets .extension_module ]
@@ -234,6 +234,8 @@ filters = [
234234]
235235deps = [
236236 " executorch_core" ,
237+ " extension_data_loader" ,
238+ " extension_flat_tensor" ,
237239 " extension_module" ,
238240 " extension_tensor" ,
239241]
@@ -448,7 +450,9 @@ deps = [
448450 " executorch" ,
449451 " executorch_core" ,
450452 " extension_data_loader" ,
453+ " extension_flat_tensor" ,
451454 " extension_module" ,
455+ " extension_tensor" ,
452456 " extension_threadpool" ,
453457 " optimized_cpublas" ,
454458 " portable_kernels" ,
Original file line number Diff line number Diff line change @@ -66,6 +66,7 @@ set(lib_list
6666 etdump
6767 bundled_program
6868 extension_data_loader
69+ extension_flat_tensor
6970 ${FLATCCRT_LIB}
7071 coreml_util
7172 coreml_inmemoryfs
You can’t perform that action at this time.
0 commit comments