File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,23 +52,23 @@ message("Generated files ${gen_command_sources}")
52
52
# Focused on portability and understandability rather than speed.
53
53
#
54
54
add_library (portable_kernels ${_portable_kernels__srcs} )
55
- target_link_libraries (portable_kernels PRIVATE executorch )
55
+ target_link_libraries (portable_kernels PRIVATE executorch_core )
56
56
target_compile_options (portable_kernels PUBLIC ${_common_compile_options} )
57
57
58
58
# Build a library for _portable_kernels__srcs
59
59
#
60
60
# portable_ops_lib: Register portable_ops_lib ops kernels into Executorch
61
61
# runtime
62
62
gen_operators_lib (
63
- LIB_NAME "portable_ops_lib" KERNEL_LIBS portable_kernels DEPS executorch
63
+ LIB_NAME "portable_ops_lib" KERNEL_LIBS portable_kernels DEPS executorch_core
64
64
)
65
65
66
66
# Portable kernels support optional parallelization (and, in the
67
67
# future, perhaps other performance features). If support is present,
68
68
# produce an optimized version.
69
69
if (EXECUTORCH_BUILD_PTHREADPOOL AND EXECUTORCH_BUILD_KERNELS_OPTIMIZED )
70
70
add_library (optimized_portable_kernels ${_portable_kernels__srcs} )
71
- target_link_libraries (optimized_portable_kernels PRIVATE executorch )
71
+ target_link_libraries (optimized_portable_kernels PRIVATE executorch_core )
72
72
target_link_libraries (optimized_portable_kernels PUBLIC extension_threadpool )
73
73
target_compile_options (optimized_portable_kernels PUBLIC ${_common_compile_options} )
74
74
target_include_directories (optimized_portable_kernels PRIVATE ${TORCH_INCLUDE_DIRS} )
You can’t perform that action at this time.
0 commit comments