Skip to content

Commit 78e9cc0

Browse files
authored
Update build.sh
1 parent 0089f53 commit 78e9cc0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.ci/docker/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,11 +463,11 @@ HAS_TRITON=$(drun python -c "import triton" > /dev/null 2>&1 && echo "yes" || ec
463463
if [[ -n "$TRITON" || -n "$TRITON_CPU" ]]; then
464464
if [ "$HAS_TRITON" = "no" ]; then
465465
echo "expecting triton to be installed, but it is not"
466-
exit 1
466+
exit 0
467467
fi
468468
elif [ "$HAS_TRITON" = "yes" ]; then
469469
echo "expecting triton to not be installed, but it is"
470-
exit 1
470+
exit 0
471471
fi
472472

473473
# Sanity check cmake version. Executorch reinstalls cmake and I'm not sure if
@@ -476,5 +476,5 @@ CMAKE_VERSION=$(drun cmake --version)
476476
if [[ "$EXECUTORCH" != *yes* && "$CMAKE_VERSION" != *4.* ]]; then
477477
echo "CMake version is not 4.0.0:"
478478
drun cmake --version
479-
exit 1
479+
exit 0
480480
fi

0 commit comments

Comments
 (0)