File tree Expand file tree Collapse file tree 5 files changed +733
-0
lines changed
Expand file tree Collapse file tree 5 files changed +733
-0
lines changed Original file line number Diff line number Diff line change @@ -485,6 +485,10 @@ if(EXECUTORCH_BUILD_CADENCE)
485485 add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /backends/cadence)
486486endif ()
487487
488+ if (EXECUTORCH_BUILD_NXP_NEUTRON)
489+ add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /backends/nxp)
490+ endif ()
491+
488492if (EXECUTORCH_BUILD_COREML)
489493 add_subdirectory (${CMAKE_CURRENT_SOURCE_DIR} /backends/apple /coreml)
490494endif ()
Original file line number Diff line number Diff line change 1+ # Copyright 2024 NXP
2+ #
3+ # This source code is licensed under the BSD-style license found in the
4+ # LICENSE file in the root directory of this source tree.
5+
6+ set (
7+ _common_include_directories
8+ ${CMAKE_CURRENT_SOURCE_DIR} /../../..
9+ )
10+
11+ set (_neutron_sources ${CMAKE_CURRENT_SOURCE_DIR} /runtime/NeutronBackend.cpp )
12+
13+ add_library (executorch_delegate_neutron STATIC ${_neutron_sources} )
14+ target_include_directories (
15+ executorch_delegate_neutron PUBLIC ${_common_include_directories}
16+ )
You can’t perform that action at this time.
0 commit comments