Skip to content

Commit 48d7021

Browse files
authored
CI: fix SYCL build (ggml-org#12546)
1 parent 3361e2d commit 48d7021

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

ci/run.sh

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -826,16 +826,20 @@ if [ -z ${GG_BUILD_LOW_PERF} ]; then
826826
fi
827827

828828
ret=0
829-
830-
test $ret -eq 0 && gg_run ctest_debug
829+
if [ -z ${GG_BUILD_SYCL} ]; then
830+
# SYCL build breaks with debug build flags
831+
test $ret -eq 0 && gg_run ctest_debug
832+
fi
831833
test $ret -eq 0 && gg_run ctest_release
832834

833835
if [ -z ${GG_BUILD_LOW_PERF} ]; then
834836
test $ret -eq 0 && gg_run embd_bge_small
835837
test $ret -eq 0 && gg_run rerank_tiny
836838

837839
if [ -z ${GG_BUILD_CLOUD} ] || [ ${GG_BUILD_EXTRA_TESTS_0} ]; then
838-
test $ret -eq 0 && gg_run test_scripts_debug
840+
if [ -z ${GG_BUILD_SYCL} ]; then
841+
test $ret -eq 0 && gg_run test_scripts_debug
842+
fi
839843
test $ret -eq 0 && gg_run test_scripts_release
840844
fi
841845

@@ -846,7 +850,9 @@ if [ -z ${GG_BUILD_LOW_PERF} ]; then
846850
test $ret -eq 0 && gg_run pythia_2_8b
847851
#test $ret -eq 0 && gg_run open_llama_7b_v2
848852
fi
849-
test $ret -eq 0 && gg_run ctest_with_model_debug
853+
if [ -z ${GG_BUILD_SYCL} ]; then
854+
test $ret -eq 0 && gg_run ctest_with_model_debug
855+
fi
850856
test $ret -eq 0 && gg_run ctest_with_model_release
851857
fi
852858
fi

0 commit comments

Comments
 (0)