Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
128 commits
Select commit Hold shift + click to select a range
6d51bff
Update
swolchok Mar 5, 2025
9e3e2e7
Update
swolchok Jul 13, 2025
16f0274
forgot to amend
swolchok Jul 13, 2025
99ec5a7
Update
swolchok Jul 14, 2025
ff3cdb9
Update
swolchok Jul 14, 2025
513de13
Update
swolchok Jul 14, 2025
76db1f1
Update
swolchok Jul 14, 2025
08bffac
Update
swolchok Jul 14, 2025
dff96c8
Update
swolchok Jul 14, 2025
0e2bce6
Update
swolchok Jul 14, 2025
35d8319
Update
swolchok Jul 14, 2025
b87d2fb
Update
swolchok Jul 14, 2025
a31187e
Update
swolchok Jul 15, 2025
dcbce0d
Update
swolchok Jul 15, 2025
bc8f971
Update
swolchok Jul 15, 2025
29d3999
Update
swolchok Jul 15, 2025
7e4040a
Update
swolchok Jul 15, 2025
2dacf6f
Update
swolchok Jul 15, 2025
497ea70
Update
swolchok Jul 15, 2025
fb2b775
Update
swolchok Jul 15, 2025
02f19a6
Update
swolchok Jul 15, 2025
225d5a6
Update
swolchok Jul 15, 2025
f8d2baf
Update
swolchok Jul 15, 2025
41bf264
Update
swolchok Jul 16, 2025
f54a8ce
Update
swolchok Jul 16, 2025
e48e6cc
Update
swolchok Jul 16, 2025
62658a6
Update
swolchok Jul 16, 2025
a2f14ac
Update
swolchok Jul 16, 2025
46e9698
stack on #12566
swolchok Jul 16, 2025
4ac87e3
Update
swolchok Jul 17, 2025
0c7f574
Update
swolchok Jul 17, 2025
200b7dd
Update
swolchok Jul 17, 2025
b85ed41
Update
swolchok Jul 17, 2025
c31a4b9
Update
swolchok Jul 17, 2025
4fd7372
Update
swolchok Jul 17, 2025
d650396
Update
swolchok Jul 17, 2025
3bfdade
Update
swolchok Jul 17, 2025
00acd77
Update
swolchok Jul 17, 2025
6946143
Update
swolchok Jul 17, 2025
431ddd8
Update
swolchok Jul 17, 2025
60456ca
Update
swolchok Jul 17, 2025
5f121b7
Update
swolchok Jul 17, 2025
dcb3ca0
Update
swolchok Jul 18, 2025
3c30b31
Update
swolchok Jul 18, 2025
e9928a7
Update
swolchok Jul 18, 2025
b57678b
Update
swolchok Jul 18, 2025
b0094c1
Update
swolchok Jul 18, 2025
05effc4
Update
swolchok Jul 18, 2025
f5bcdcc
Update
swolchok Jul 18, 2025
2556e9a
Update
swolchok Jul 18, 2025
9a5096c
Update
swolchok Jul 19, 2025
2e21d9a
Update
swolchok Jul 19, 2025
63e4a27
Update
swolchok Jul 19, 2025
d9517d8
Update
swolchok Jul 19, 2025
4c2e046
rebase
swolchok Jul 19, 2025
0eb3d8d
rebase
swolchok Jul 19, 2025
a451cc3
rebase
swolchok Jul 19, 2025
92548b6
rebase
swolchok Jul 19, 2025
0d164ce
Update
swolchok Jul 21, 2025
2e1d1e4
Update
swolchok Jul 21, 2025
5d15809
fix unittest, bump size test threshold to account for op registration…
swolchok Jul 21, 2025
980279b
Update
swolchok Jul 21, 2025
ccd0e2d
Update
swolchok Jul 21, 2025
f9b96eb
Update
swolchok Jul 21, 2025
02d6d67
Update
swolchok Jul 21, 2025
dd18bfe
Update
swolchok Jul 21, 2025
5be4b7b
Update
swolchok Jul 21, 2025
bf1a6cd
Update
swolchok Jul 21, 2025
719bb4f
Update
swolchok Jul 21, 2025
ba9f19e
Update
swolchok Jul 21, 2025
a342614
Update
swolchok Jul 21, 2025
d451e7c
Update
swolchok Jul 21, 2025
91fe6ad
Update
swolchok Jul 21, 2025
d0f93f7
Update
swolchok Jul 21, 2025
9e9373a
Update
swolchok Jul 21, 2025
16b02c0
Update
swolchok Jul 21, 2025
8627bbb
Update
swolchok Jul 22, 2025
5b7415a
Update
swolchok Jul 22, 2025
8af5beb
Update
swolchok Jul 22, 2025
995f6fa
Update
swolchok Jul 22, 2025
d2ee588
Update
swolchok Jul 22, 2025
853a128
Update
swolchok Jul 22, 2025
0ffc394
Update
swolchok Jul 22, 2025
2c62f9b
Update
swolchok Jul 22, 2025
a06c916
Merge branch 'main' into gh/swolchok/517/head
swolchok Jul 22, 2025
3d760e0
Update
swolchok Jul 22, 2025
ae4ac22
Update
swolchok Jul 22, 2025
9e04e6a
Update
swolchok Jul 22, 2025
fa557ca
Update
swolchok Jul 22, 2025
098f4ad
Update
swolchok Jul 22, 2025
5173bf2
Update
swolchok Jul 23, 2025
e6c83db
Update
swolchok Jul 23, 2025
8978c19
Update
swolchok Jul 23, 2025
783c39d
Update
swolchok Jul 23, 2025
08d9f80
Update
swolchok Jul 23, 2025
5eaa349
Update
swolchok Jul 23, 2025
1cf3567
Update
swolchok Jul 23, 2025
b0d965c
Update
swolchok Jul 23, 2025
d9bf112
Update
swolchok Jul 23, 2025
98ebc97
Update
swolchok Jul 23, 2025
387e8d8
Update
swolchok Jul 23, 2025
313ccaf
Update
swolchok Jul 23, 2025
7852f9a
Update
swolchok Jul 23, 2025
5f9f7c5
Update
swolchok Jul 23, 2025
bdabc9c
Update
swolchok Jul 23, 2025
98cb422
Update
swolchok Jul 23, 2025
ee010ee
Update
swolchok Jul 23, 2025
029ce6b
Update
swolchok Jul 23, 2025
ef42dd0
forgot to restore tokenizers bump. format a CMake file
swolchok Jul 23, 2025
a9dadf4
Update
swolchok Jul 23, 2025
707e40f
Update
swolchok Jul 23, 2025
3d04265
Update
swolchok Jul 23, 2025
388d4ba
Update
swolchok Jul 23, 2025
5596d52
Update
swolchok Jul 23, 2025
e0183db
fix zephyr size test to build data_loader extension. might be the las…
swolchok Jul 23, 2025
5efa8e7
fix zephyr size test to build data_loader extension. might be the las…
swolchok Jul 23, 2025
1029ce3
fix zephyr size test to build data_loader extension. might be the las…
swolchok Jul 23, 2025
a82dc25
Update
swolchok Jul 23, 2025
c560ee1
move zephyr fix to bottom PR where it belongs
swolchok Jul 24, 2025
a436fbe
move zephyr fix to bottom PR where it belongs
swolchok Jul 24, 2025
5391854
move zephyr fix to bottom PR where it belongs
swolchok Jul 24, 2025
0e7a016
bump arm baremetal size test thresholds again for EXPORT diff
swolchok Jul 24, 2025
2df7d5f
bump arm baremetal size test thresholds again for EXPORT diff
swolchok Jul 24, 2025
ecc92b1
fix incorrect QNN conflict resolution on last rebase
swolchok Jul 24, 2025
862c9fc
fix incorrect QNN conflict resolution on last rebase
swolchok Jul 24, 2025
db7c3cd
Update
swolchok Jul 25, 2025
abb4148
Update
swolchok Jul 25, 2025
942556e
rebase, fix a few more sites
swolchok Oct 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ if(EXECUTORCH_BUILD_CPUINFO)
install(
TARGETS cpuinfo
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
Expand Down Expand Up @@ -269,7 +269,7 @@ if(EXECUTORCH_BUILD_PTHREADPOOL)
install(
TARGETS pthreadpool pthreadpool_interface fxdiv
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
Expand Down Expand Up @@ -708,7 +708,7 @@ if(EXECUTORCH_BUILD_KERNELS_TORCHAO)
install(
TARGETS torchao_ops_executorch torchao_kernels_aarch64
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
Expand All @@ -719,7 +719,7 @@ if(EXECUTORCH_BUILD_KERNELS_TORCHAO)
install(
TARGETS kleidiai
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
Expand Down Expand Up @@ -999,7 +999,7 @@ if(NOT EXECUTORCH_SELECT_OPS_YAML STREQUAL ""
install(
TARGETS executorch_selected_kernels
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
else()
# No selective build - link the full library.
Expand Down
2 changes: 1 addition & 1 deletion backends/aoti/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,5 @@ executorch_target_link_options_shared_lib(aoti_common)
install(
TARGETS aoti_common
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
6 changes: 3 additions & 3 deletions backends/apple/coreml/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ if(APPLE)
endif()
target_compile_options(coreml_util PUBLIC -fPIC)

install(TARGETS coreml_util DESTINATION lib)
install(TARGETS coreml_util DESTINATION ${CMAKE_INSTALL_LIBDIR})

install(
DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/runtime/util
Expand Down Expand Up @@ -154,7 +154,7 @@ target_compile_options(coreml_inmemoryfs PUBLIC -fPIC)

install(
TARGETS coreml_inmemoryfs
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
Expand Down Expand Up @@ -251,7 +251,7 @@ if(APPLE)
install(
TARGETS coremldelegate coreml_util coreml_inmemoryfs
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
Expand Down
2 changes: 1 addition & 1 deletion backends/apple/mps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ target_compile_options(mpsdelegate PRIVATE "-fno-objc-arc")
install(
TARGETS mpsdelegate mps_schema
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
5 changes: 3 additions & 2 deletions backends/cortex_m/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ gen_operators_lib(
install(
TARGETS cortex_m_kernels cortex_m_ops_lib cmsis-nn
EXPORT ExecuTorchTargets
DESTINATION lib
PUBLIC_HEADER DESTINATION include/executorch/backends/cortex_m/ops/
DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/backends/cortex_m/ops/
)
2 changes: 1 addition & 1 deletion backends/mediatek/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,5 +46,5 @@ executorch_target_link_options_shared_lib(neuron_backend)
install(
TARGETS neuron_backend
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
2 changes: 1 addition & 1 deletion backends/nxp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ target_include_directories(
install(
TARGETS executorch_delegate_neutron
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
2 changes: 1 addition & 1 deletion backends/openvino/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ endif()
install(
TARGETS openvino_backend
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
2 changes: 1 addition & 1 deletion backends/qualcomm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ add_subdirectory(
install(
TARGETS qnn_executorch_backend
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)

# QNN pybind
Expand Down
2 changes: 1 addition & 1 deletion backends/samsung/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ if(${ANDROID})
install(
TARGETS enn_backend enn_logging
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
endif()

Expand Down
2 changes: 1 addition & 1 deletion backends/vulkan/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ set_property(TARGET vulkan_backend PROPERTY CXX_STANDARD 17)
install(
TARGETS vulkan_backend vulkan_schema
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${COMMON_INCLUDES}
)
2 changes: 1 addition & 1 deletion configurations/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,6 @@ if(EXECUTORCH_BUILD_KERNELS_OPTIMIZED)
install(
TARGETS optimized_native_cpu_ops_lib
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
endif()
2 changes: 1 addition & 1 deletion exir/backend/test/demos/rpc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ target_include_directories(
)
install(
TARGETS executor_backend
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
2 changes: 1 addition & 1 deletion extension/data_loader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ target_compile_options(extension_data_loader PUBLIC ${_common_compile_options})
install(
TARGETS extension_data_loader
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
Expand Down
2 changes: 1 addition & 1 deletion extension/flat_tensor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ target_compile_options(extension_flat_tensor PUBLIC ${_common_compile_options})
install(
TARGETS extension_flat_tensor
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
Expand Down
2 changes: 1 addition & 1 deletion extension/llm/custom_ops/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ target_compile_options(custom_ops PUBLIC ${_common_compile_options})
install(
TARGETS custom_ops
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)

if(EXECUTORCH_BUILD_KERNELS_LLM_AOT)
Expand Down
2 changes: 1 addition & 1 deletion extension/module/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ target_compile_options(
install(
TARGETS extension_module extension_module_static
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
Expand Down
2 changes: 1 addition & 1 deletion extension/runner_util/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ target_compile_options(extension_runner_util PUBLIC ${_common_compile_options})
install(
TARGETS extension_runner_util
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
Expand Down
2 changes: 1 addition & 1 deletion extension/tensor/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ target_compile_options(extension_tensor PUBLIC ${_common_compile_options})
install(
TARGETS extension_tensor
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
Expand Down
2 changes: 1 addition & 1 deletion extension/threadpool/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ target_compile_options(extension_threadpool PUBLIC ${_common_compile_options})
install(
TARGETS extension_threadpool
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
Expand Down
2 changes: 1 addition & 1 deletion extension/training/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ endif()
install(
TARGETS extension_training
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
INCLUDES
DESTINATION ${_common_include_directories}
)
5 changes: 3 additions & 2 deletions kernels/optimized/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ install(
# it.
TARGETS cpublas optimized_kernels optimized_ops_lib eigen_blas
EXPORT ExecuTorchTargets
DESTINATION lib
PUBLIC_HEADER DESTINATION include/executorch/kernels/optimized/
DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/kernels/optimized/
)
4 changes: 2 additions & 2 deletions kernels/optimized/External/EigenBLAS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ set_property(TARGET eigen_blas PROPERTY POSITION_INDEPENDENT_CODE ON)

install(
TARGETS eigen_blas
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
7 changes: 4 additions & 3 deletions kernels/portable/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,14 @@ if(EXECUTORCH_BUILD_PTHREADPOOL AND EXECUTORCH_BUILD_KERNELS_OPTIMIZED)
install(
TARGETS optimized_portable_kernels optimized_portable_ops_lib
EXPORT ExecuTorchTargets
DESTINATION lib
DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
endif()

install(
TARGETS portable_kernels portable_ops_lib
EXPORT ExecuTorchTargets
DESTINATION lib
PUBLIC_HEADER DESTINATION include/executorch/kernels/portable/
DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/kernels/portable/
)
5 changes: 3 additions & 2 deletions kernels/quantized/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ gen_operators_lib(
install(
TARGETS quantized_kernels quantized_ops_lib
EXPORT ExecuTorchTargets
DESTINATION lib
PUBLIC_HEADER DESTINATION include/executorch/kernels/quantized/
DESTINATION ${CMAKE_INSTALL_LIBDIR}
PUBLIC_HEADER
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/executorch/kernels/quantized/
)
2 changes: 1 addition & 1 deletion runtime/executor/test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -191,4 +191,4 @@ target_link_libraries(test_backend_compiler_lib PUBLIC executorch_core)

executorch_target_link_options_shared_lib(test_backend_compiler_lib)

install(TARGETS test_backend_compiler_lib DESTINATION lib)
install(TARGETS test_backend_compiler_lib DESTINATION ${CMAKE_INSTALL_LIBDIR})
Loading