Skip to content

Commit 041a6ec

Browse files
authored
Arm backend: Remove superfluous build_executorch calls (pytorch#21883)
Since pytorch#19018, builds of arm_executor_runner builds its own Executorch library. The pre-built libs from build_executorch.sh are not used in these cases. cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell @rascani Signed-off-by: Erik Lundell <erik.lundell@arm.com>
1 parent 21777b9 commit 041a6ec

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

‎.ci/scripts/test_backend.sh‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
# Copyright (c) Meta Platforms, Inc. and affiliates.
33
# All rights reserved.
4-
# Copyright 2025 Arm Limited and/or its affiliates.
4+
# Copyright 2025-2026 Arm Limited and/or its affiliates.
55
#
66
# This source code is licensed under the BSD-style license found in the
77
# LICENSE file in the root directory of this source tree.
@@ -86,7 +86,6 @@ if [[ "$FLOW" == *arm* ]]; then
8686

8787
if [[ "$FLOW" == *ethos_u* ]]; then
8888
# Prepare a test runner binary that can run on the Corstone-3x0 FVPs
89-
backends/arm/scripts/build_executorch.sh
9089
backends/arm/test/setup_testing.sh
9190
fi
9291

‎backends/arm/test/test_arm_backend.sh‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ test_run_tosa() {
143143
test_pytest_ops_ethos_u55() {
144144
echo "${TEST_SUITE_NAME}: Run pytest ops for Arm Ethos-U55"
145145

146-
backends/arm/scripts/build_executorch.sh
147146
backends/arm/test/setup_testing.sh
148147

149148
pytest "${PYTEST_RETRY_ARGS[@]}" --verbose --color=yes --numprocesses=auto --durations=10 backends/arm/test/ --ignore=backends/arm/test/models -k "u55 or u65"
@@ -153,7 +152,6 @@ test_pytest_ops_ethos_u55() {
153152
test_pytest_models_ethos_u55() {
154153
echo "${TEST_SUITE_NAME}: Run pytest models for Arm Ethos-U55"
155154

156-
backends/arm/scripts/build_executorch.sh
157155
backends/arm/test/setup_testing.sh
158156

159157
# Install model dependencies for pytest
@@ -201,7 +199,6 @@ test_run_ethos_u55() {
201199
test_pytest_ops_ethos_u85() {
202200
echo "${TEST_SUITE_NAME}: Run pytest ops for Arm Ethos-U85"
203201

204-
backends/arm/scripts/build_executorch.sh
205202
backends/arm/test/setup_testing.sh
206203

207204
# Run arm baremetal pytest tests with FVP
@@ -212,7 +209,6 @@ test_pytest_ops_ethos_u85() {
212209
test_pytest_models_ethos_u85() {
213210
echo "${TEST_SUITE_NAME}: Run pytest models for Arm Ethos-U85"
214211

215-
backends/arm/scripts/build_executorch.sh
216212
backends/arm/test/setup_testing.sh
217213

218214
# Install model dependencies for pytest
@@ -343,8 +339,6 @@ test_deit_e2e_ethos_u() {
343339
test_model_smollm2_135M_ethos_u85() {
344340
echo "${TEST_SUITE_NAME}: Test SmolLM2-135M on Ethos-U85"
345341

346-
backends/arm/scripts/build_executorch.sh
347-
348342
# Build pte for smollm2
349343
python3 -m extension.llm.export.export_llm \
350344
base.model_class=smollm2 \

0 commit comments

Comments
 (0)