Skip to content

Commit 62b6cb8

Browse files
committed
Updating setup script and cleaning comments
1 parent d3cd140 commit 62b6cb8

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.ci/scripts/setup-arm-baremetal-tools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Setup arm example environment (including TOSA tools)
99
git config --global user.email "[email protected]"
1010
git config --global user.name "Github Executorch"
11-
if [ -z "$#"]; then
11+
if [[ -z "$#" ]]; then
1212
bash examples/arm/setup.sh --i-agree-to-the-contained-eula
1313
else
1414
bash examples/arm/setup.sh --i-agree-to-the-contained-eula "$#"

.github/workflows/trunk.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -260,12 +260,11 @@ jobs:
260260
# User toolchain
261261
${toolchain_prefix}c++ --version
262262
263-
# We will use the the bare metal default, specify to use the
264-
# arm zephyr toolchain if we need to
263+
# Setup cmake target to desired toolchain
265264
toolchain_cmake=examples/arm/ethos-u-setup/${toolchain_prefix}gcc.cmake
266265
toolchain_cmake=$(realpath ${toolchain_cmake})
267266
268-
# Build and test size test
267+
# Build and run size test
269268
if [[ ${{ matrix.os}} == "bare_metal" ]]; then
270269
bash test/build_size_test.sh "-DCMAKE_TOOLCHAIN_FILE=${toolchain_cmake} -DEXECUTORCH_BUILD_ARM_BAREMETAL=ON"
271270
elif [[ ${{ matrix.os}} == "zephyr-preset" ]]; then

0 commit comments

Comments
 (0)