]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
ci: fix SYCL build (#2943)
authorAkarshan Biswas <redacted>
Tue, 25 Mar 2025 09:20:37 +0000 (14:50 +0530)
committerGitHub <redacted>
Tue, 25 Mar 2025 09:20:37 +0000 (11:20 +0200)
ci/run.sh

index f91078f08b0cff4b6619a9586e02874ed0ec47ae..6c770416e2f5c7fd8607e5b5b13ae86017fb25b2 100644 (file)
--- a/ci/run.sh
+++ b/ci/run.sh
@@ -10,6 +10,8 @@
 # # with CUDA support
 # GG_BUILD_CUDA=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
 #
+# # with SYCL support
+# GG_BUILD_SYCL=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
 
 if [ -z "$2" ]; then
     echo "usage: $0 <output-dir> <mnt-dir>"
@@ -324,8 +326,9 @@ ret=0
 for model in "${MODELS[@]}"; do
     test $ret -eq 0 && gg_download_model ${model}
 done
-
-test $ret -eq 0 && gg_run ctest debug
+if [ -z ${GG_BUILD_SYCL}]; then
+    test $ret -eq 0 && gg_run ctest debug
+fi
 test $ret -eq 0 && gg_run ctest release
 
 test $ret -eq 0 && gg_run bench