Skip to content

Commit 766cc43

Browse files
authored
Link quantized ops lib in xnn_executor_runner
Differential Revision: D71527836 Pull Request resolved: #9443
1 parent 6f6fa6a commit 766cc43

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

backends/xnnpack/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,10 @@ if(EXECUTORCH_BUILD_KERNELS_CUSTOM)
146146
list(APPEND xnn_executor_runner_libs $<LINK_LIBRARY:WHOLE_ARCHIVE,custom_ops>)
147147
endif()
148148

149+
if(EXECUTORCH_BUILD_KERNELS_QUANTIZED)
150+
list(APPEND xnn_executor_runner_libs quantized_ops_lib)
151+
endif()
152+
149153
list(APPEND xnn_executor_runner_libs xnnpack_backend executorch)
150154

151155
# ios can only build library but not binary

0 commit comments

Comments
 (0)