Skip to content

Commit bb9f681

Browse files
authored
ci: fix SYCL build (#2943)
1 parent 30cf30c commit bb9f681

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ci/run.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
# # with CUDA support
1111
# GG_BUILD_CUDA=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
1212
#
13+
# # with SYCL support
14+
# GG_BUILD_SYCL=1 bash ./ci/run.sh ./tmp/results ./tmp/mnt
1315

1416
if [ -z "$2" ]; then
1517
echo "usage: $0 <output-dir> <mnt-dir>"
@@ -324,8 +326,9 @@ ret=0
324326
for model in "${MODELS[@]}"; do
325327
test $ret -eq 0 && gg_download_model ${model}
326328
done
327-
328-
test $ret -eq 0 && gg_run ctest debug
329+
if [ -z ${GG_BUILD_SYCL}]; then
330+
test $ret -eq 0 && gg_run ctest debug
331+
fi
329332
test $ret -eq 0 && gg_run ctest release
330333

331334
test $ret -eq 0 && gg_run bench

0 commit comments

Comments
 (0)