File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,9 @@ if(EXECUTORCH_BUILD_KERNELS_CUSTOM_AOT)
93
93
target_link_libraries (custom_ops_aot_lib PUBLIC executorch_no_prim_ops)
94
94
endif ()
95
95
96
- target_link_libraries (custom_ops_aot_lib PUBLIC cpublas torch)
96
+ target_link_libraries (
97
+ custom_ops_aot_lib PUBLIC cpublas torch extension_threadpool
98
+ )
97
99
if (WIN32 )
98
100
# There is no direct replacement for libpthread.so on Windows. For the
99
101
# Windows build, link directly against pthreadpool and cpuinfo.
Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ if(NOT CMAKE_CXX_STANDARD)
21
21
endif ()
22
22
23
23
add_library (extension_threadpool threadpool.cpp threadpool_guard.cpp cpuinfo_utils.cpp)
24
- target_link_libraries (extension_threadpool PUBLIC executorch cpuinfo pthreadpool)
24
+ target_link_libraries (
25
+ extension_threadpool PUBLIC executorch_no_prim_ops cpuinfo pthreadpool
26
+ )
25
27
target_include_directories (extension_threadpool PUBLIC ${EXECUTORCH_ROOT} /..)
26
28
target_include_directories (
27
29
extension_threadpool
You can’t perform that action at this time.
0 commit comments