Skip to content

Commit 8be87e2

Browse files
mcr229facebook-github-bot
authored andcommitted
fix xnn executor runner cmake (#2613)
Summary: the xnnpack backend's cmake refactor lost the portable_ops_lib for xnn_executor_runner so adding it back in this diff Pull Request resolved: #2613 Reviewed By: guangy10, kirklandsign Differential Revision: D55277429 Pulled By: mcr229 fbshipit-source-id: c7f4dd5df52df5dc0cfec945ac5da635d7617baa
1 parent 42d59d7 commit 8be87e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

backends/xnnpack/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ if(NOT CMAKE_TOOLCHAIN_FILE MATCHES ".*iOS\.cmake$")
100100
#
101101
list(TRANSFORM _xnn_executor_runner__srcs PREPEND "${EXECUTORCH_ROOT}/")
102102
add_executable(xnn_executor_runner ${_xnn_executor_runner__srcs})
103-
target_link_libraries(xnn_executor_runner xnnpack_backend gflags)
103+
target_link_libraries(xnn_executor_runner
104+
xnnpack_backend gflags portable_ops_lib)
104105
target_compile_options(xnn_executor_runner PUBLIC ${_common_compile_options})
105106
endif()
106107

0 commit comments

Comments
 (0)