Skip to content

Commit cb92532

Browse files
committed
Update test_selective_build.sh
Ensuring clean build dir when running
1 parent d977fec commit cb92532

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

examples/selective_build/test_selective_build.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ test_cmake_select_ops_in_model() {
166166
${PYTHON_EXECUTABLE} -m examples.portable.scripts.export --model_name="mv2"
167167
local example_dir=examples/selective_build
168168
local build_dir=cmake-out/${example_dir}
169+
rm -rf ${build_dir}
169170
retry cmake -DCMAKE_BUILD_TYPE=Release \
170171
-DEXECUTORCH_SELECT_OPS_FROM_MODEL="./mv2.pte" \
171172
-DCMAKE_INSTALL_PREFIX=cmake-out \

0 commit comments

Comments
 (0)