From 8ad5ee901f0223c4a1679b08ba3e8952f6fba988 Mon Sep 17 00:00:00 2001 From: Chunseok Lee Date: Tue, 23 Sep 2025 11:27:06 +0900 Subject: [PATCH 1/2] Add arm target build test in CI - Enable ARM build test in CI, again - TODO: make ReduceMaxTest.Float_4D_2axis_P works ONE-DCO-1.0-Signed-off-by: Chunseok Lee --- .github/workflows/run-onert-micro-unit-tests.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/run-onert-micro-unit-tests.yml b/.github/workflows/run-onert-micro-unit-tests.yml index 4c797651b71..c40548c639b 100644 --- a/.github/workflows/run-onert-micro-unit-tests.yml +++ b/.github/workflows/run-onert-micro-unit-tests.yml @@ -50,6 +50,13 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} # Fetch all history and branch (default: 1) fetch-depth: 0 + - name: Build for Cortex ARM + run: | + mkdir build_arm + cd build_arm + cmake ../infra/onert-micro/ -DCMAKE_BUILD_TYPE=Release -DNOT_BUILD_EXTERNALS=0 + cmake --build . --target onert_micro_arm -j1 + - name: Build and Run Tests run: | mkdir build From 5a56888030833fa36ff124f98447198f017df5c2 Mon Sep 17 00:00:00 2001 From: Chunseok Lee Date: Wed, 24 Sep 2025 10:09:15 +0900 Subject: [PATCH 2/2] fix build error --- onert-micro/onert-micro/src/core/memory/OMRuntimeAllocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onert-micro/onert-micro/src/core/memory/OMRuntimeAllocator.cpp b/onert-micro/onert-micro/src/core/memory/OMRuntimeAllocator.cpp index 067ff93f0ac..3642cd60bcb 100644 --- a/onert-micro/onert-micro/src/core/memory/OMRuntimeAllocator.cpp +++ b/onert-micro/onert-micro/src/core/memory/OMRuntimeAllocator.cpp @@ -180,7 +180,7 @@ OMStatus OMRuntimeAllocator::allocateGraphInputs(OMRuntimeContext *context, OMStatus status = Ok; const auto &graph_inputs = context->getCircleInputs(); - for (uint i = 0; i < graph_inputs->size(); ++i) + for (uint32_t i = 0; i < graph_inputs->size(); ++i) { auto tensor_index = graph_inputs->operator[](i); const circle::Tensor *tensor = context->getTensorByIndex(tensor_index);