Skip to content

Commit ac03384

Browse files
committed
Rebuilding on every test invocation to prevent using wrong cached build
1 parent 006195f commit ac03384

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.ci/scripts/test_model.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,7 @@ test_model_with_xnnpack() {
148148
# TODO eventually buck should also use consolidated executor runners
149149
buck2 run //examples/xnnpack:xnn_executor_runner -- --model_path "${OUTPUT_MODEL_PATH}"
150150
elif [[ "${BUILD_TOOL}" == "cmake" ]]; then
151-
if [[ ! -f ${CMAKE_OUTPUT_DIR}/executor_runner ]]; then
152-
build_cmake_executor_runner "XNNPACK"
153-
fi
151+
build_cmake_executor_runner "XNNPACK"
154152
./${CMAKE_OUTPUT_DIR}/executor_runner --model_path "${OUTPUT_MODEL_PATH}"
155153
else
156154
echo "Invalid build tool ${BUILD_TOOL}. Only buck2 and cmake are supported atm"

0 commit comments

Comments
 (0)