Skip to content

Commit b455912

Browse files
committed
Arm backend: Enable devtools flag when using et-dump in vkml runner
Signed-off-by: Ryan O'Shea <[email protected]> Change-Id: I833df8a2e65169e03eb4543ef1f9f3d7ec87563b
1 parent 53c1a77 commit b455912

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

backends/arm/scripts/build_executor_runner_vkml.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ build_with_etdump=false
1818
extra_build_flags=""
1919
output_folder="cmake-out-vkml"
2020

21-
build_with_etdump_flag="-DEXECUTORCH_ENABLE_EVENT_TRACER=OFF"
21+
build_with_etdump_flags="-DEXECUTORCH_ENABLE_EVENT_TRACER=OFF -DEXECUTORCH_BUILD_DEVTOOLS=OFF"
2222
help() {
2323
echo "Usage: $(basename $0) [options]"
2424
echo "Options:"
@@ -59,10 +59,10 @@ echo "--------------------------------------------------------------------------
5959
cd ${et_root_dir}/examples/arm/executor_runner
6060

6161
if [ "$build_with_etdump" = true ] ; then
62-
build_with_etdump_flag="-DEXECUTORCH_ENABLE_EVENT_TRACER=ON"
62+
build_with_etdump_flags="-DEXECUTORCH_ENABLE_EVENT_TRACER=ON -DEXECUTORCH_BUILD_DEVTOOLS=ON"
6363
fi
6464

65-
echo "Building with extra flags: ${build_with_etdump_flag} ${extra_build_flags}"
65+
echo "Building with extra flags: ${build_with_etdump_flags} ${extra_build_flags}"
6666
cmake \
6767
-S "${et_root_dir}" \
6868
-B "${output_folder}" \
@@ -81,7 +81,7 @@ cmake \
8181
-DEXECUTORCH_BUILD_KERNELS_QUANTIZED_AOT=ON \
8282
-DEXECUTORCH_ENABLE_LOGGING=ON \
8383
-DPYTHON_EXECUTABLE="$(which python3)" \
84-
${build_with_etdump_flag} \
84+
${build_with_etdump_flags} \
8585
${extra_build_flags}
8686

8787
echo "[${BASH_SOURCE[0]}] Configured CMAKE"

0 commit comments

Comments
 (0)