Skip to content

Commit 6c71c5e

Browse files
Arm backend: Seperate --bundleio and --etdump in run.sh (#13036)
Make sure setting --bundleio does not enable ETDUMP Signed-off-by: Adrian Lundell <[email protected]>
1 parent 2aa8084 commit 6c71c5e

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

examples/arm/run.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -181,17 +181,15 @@ devtools_flag=""
181181
bundleio_flag=""
182182
et_dump_flag=""
183183
if [ "$build_with_etdump" = true ] ; then
184-
devtools_flag="--devtools --etdump"
185184
et_dump_flag="--etdump"
186185
fi
187186

188187
if [ "$bundleio" = true ] ; then
189-
devtools_flag="--devtools --etdump"
188+
devtools_flag="--devtools"
190189
bundleio_flag="--bundleio"
191-
et_dump_flag="--etdump"
192190
fi
193191

194-
backends/arm/scripts/build_executorch.sh --et_build_root="${et_build_root}" --build_type=$build_type $devtools_flag --toolchain="${toolchain}"
192+
backends/arm/scripts/build_executorch.sh --et_build_root="${et_build_root}" --build_type=$build_type $devtools_flag $et_dump_flag --toolchain="${toolchain}"
195193
backends/arm/scripts/build_portable_kernels.sh --et_build_root="${et_build_root}" --build_type=$build_type --portable_kernels=$portable_kernels --toolchain="${toolchain}"
196194

197195
if [[ -z "$model_name" ]]; then

0 commit comments

Comments
 (0)