From: Akarshan Biswas Date: Tue, 25 Mar 2025 09:20:37 +0000 (+0530) Subject: ci: fix SYCL build (#2943) X-Git-Tag: upstream/1.7.5~112 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=bb9f68129f5923ddc80a476292347cd369e22023;p=pkg%2Fggml%2Fsources%2Fwhisper.cpp ci: fix SYCL build (#2943) --- diff --git a/ci/run.sh b/ci/run.sh index f91078f0..6c770416 100644 --- 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 " @@ -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