File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -68,10 +68,12 @@ install(TARGETS xnnpack-microkernels-prod
6868
6969
7070if (EXECUTORCH_XNNPACK_ENABLE_KLEIDI)
71- install (TARGETS kleidiai
72- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
73- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
74- PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
71+ if (TARGET kleidiai)
72+ install (TARGETS kleidiai
73+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
74+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
75+ PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} )
76+ endif ()
7577endif ()
7678
7779# Revert PIC Flag to what it originally was
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ define_overridable_option(
258258define_overridable_option(
259259 EXECUTORCH_XNNPACK_ENABLE_KLEIDI
260260 "Enable Arm Kleidi kernels"
261- BOOL OFF
261+ BOOL ON
262262)
263263# Turning this on cache weights between partitions and methods. If weights
264264# are shared across methods/partitions then this can reduce load time and
You can’t perform that action at this time.
0 commit comments