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}")
5252# Focused on portability and understandability rather than speed. 
5353# 
5454add_library (portable_kernels ${_portable_kernels__srcs} )
55- target_link_libraries (portable_kernels PRIVATE  executorch )
55+ target_link_libraries (portable_kernels PRIVATE  executorch_core )
5656target_compile_options (portable_kernels PUBLIC  ${_common_compile_options} )
5757
5858# Build a library for _portable_kernels__srcs 
5959# 
6060# portable_ops_lib: Register portable_ops_lib ops kernels into Executorch 
6161# runtime 
6262gen_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 
6464)
6565
6666# Portable kernels support optional parallelization (and, in the 
6767# future, perhaps other performance features). If support is present, 
6868# produce an optimized version. 
6969if (EXECUTORCH_BUILD_PTHREADPOOL AND  EXECUTORCH_BUILD_KERNELS_OPTIMIZED)
7070  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 )
7272  target_link_libraries (optimized_portable_kernels PUBLIC  extension_threadpool)
7373  target_compile_options (optimized_portable_kernels PUBLIC  ${_common_compile_options} )
7474  target_include_directories (optimized_portable_kernels PRIVATE  ${TORCH_INCLUDE_DIRS} )
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments