Skip to content

Commit c389f68

Browse files
committed
Removing refs of xnn_executor_runner
1 parent 5cba138 commit c389f68

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

backends/xnnpack/CMakeLists.txt

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -118,22 +118,6 @@ target_include_directories(
118118
target_compile_options(xnnpack_backend PUBLIC ${_common_compile_options})
119119
target_link_options_shared_lib(xnnpack_backend)
120120

121-
# ios can only build library but not binary
122-
if(NOT CMAKE_TOOLCHAIN_FILE MATCHES ".*(iOS|ios\.toolchain)\.cmake$")
123-
#
124-
# xnn_executor_runner: Like executor_runner but with XNNPACK, the binary will
125-
# be at ${CMAKE_BINARY_DIR}/backends/xnnpack
126-
#
127-
list(TRANSFORM _xnn_executor_runner__srcs PREPEND "${EXECUTORCH_ROOT}/")
128-
add_executable(xnn_executor_runner ${_xnn_executor_runner__srcs})
129-
130-
target_compile_options(xnn_executor_runner PUBLIC ${_common_compile_options})
131-
if(EXECUTORCH_BUILD_PTHREADPOOL)
132-
target_link_libraries(xnn_executor_runner extension_threadpool pthreadpool)
133-
target_compile_definitions(xnn_executor_runner PRIVATE ET_USE_THREADPOOL)
134-
endif()
135-
endif()
136-
137121
install(
138122
TARGETS xnnpack_backend
139123
INCLUDES

0 commit comments

Comments
 (0)