File tree Expand file tree Collapse file tree 3 files changed +4
-50
lines changed Expand file tree Collapse file tree 3 files changed +4
-50
lines changed Original file line number Diff line number Diff line change @@ -297,9 +297,11 @@ jobs:
297297 arm-zephyr-eabi-c++ --version
298298 zephyr_preset=tools/cmake/preset/zephyr.cmake
299299 zephyr_preset=$(realpath ${zephyr_preset})
300+ toolchain_cmake=examples/arm/ethos-u-setup/arm-zephyr-eabi-gcc.cmake
301+ toolchain_cmake=$(realpath ${toolchain_cmake})
300302
301303 # Build and test size test
302- bash test/build_size_test.sh "-DEXECUTORCH_BUILD_PRESET_FILE=${zephyr_preset}"
304+ bash test/build_size_test.sh "-DEXECUTORCH_BUILD_PRESET_FILE=${zephyr_preset} -DCMAKE_TOOLCHAIN_FILE=${toolchain_cmake} "
303305 elf="cmake-out/test/size_test"
304306
305307 # Dump basic info
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -13,8 +13,7 @@ set_overridable_option(CMAKE_TOOLCHAIN_FILE "${PROJECT_SOURC
1313set_overridable_option(EXECUTORCH_ENABLE_LOGGING ON )
1414set_overridable_option(EXECUTORCH_BUILD_COREML OFF )
1515set_overridable_option(EXECUTORCH_FLATBUFFERS_MAX_ALIGNMENT 1024)
16- set (EXECUTORCH_PAL_DEFAULT minimal)
17- #set(EXECUTORCH_PAL_DEFAULT_FILE_PATH "${PROJECT_SOURCE_DIR}/runtime/platform/default/zephyr.cpp")
16+ set_overridable_option(EXECUTORCH_PAL_DEFAULT minimal)
1817set_overridable_option(EXECUTORCH_LOG_LEVEL Info)
1918set_overridable_option(EXECUTORCH_ENABLE_PROGRAM_VERIFICATION OFF )
2019set_overridable_option(EXECUTORCH_ENABLE_EVENT_TRACER OFF )
You can’t perform that action at this time.
0 commit comments