소스 검색

CI: fix SYCL build (#12546)

Akarshan Biswas 9 달 전
부모
커밋
48d7021c61
1개의 변경된 파일10개의 추가작업 그리고 4개의 파일을 삭제
  1. 10 4
      ci/run.sh

+ 10 - 4
ci/run.sh

@@ -826,8 +826,10 @@ if [ -z ${GG_BUILD_LOW_PERF} ]; then
 fi
 fi
 
 
 ret=0
 ret=0
-
-test $ret -eq 0 && gg_run ctest_debug
+if [ -z ${GG_BUILD_SYCL} ]; then
+    # SYCL build breaks with debug build flags
+    test $ret -eq 0 && gg_run ctest_debug
+fi
 test $ret -eq 0 && gg_run ctest_release
 test $ret -eq 0 && gg_run ctest_release
 
 
 if [ -z ${GG_BUILD_LOW_PERF} ]; then
 if [ -z ${GG_BUILD_LOW_PERF} ]; then
@@ -835,7 +837,9 @@ if [ -z ${GG_BUILD_LOW_PERF} ]; then
     test $ret -eq 0 && gg_run rerank_tiny
     test $ret -eq 0 && gg_run rerank_tiny
 
 
     if [ -z ${GG_BUILD_CLOUD} ] || [ ${GG_BUILD_EXTRA_TESTS_0} ]; then
     if [ -z ${GG_BUILD_CLOUD} ] || [ ${GG_BUILD_EXTRA_TESTS_0} ]; then
-        test $ret -eq 0 && gg_run test_scripts_debug
+        if [ -z ${GG_BUILD_SYCL} ]; then
+            test $ret -eq 0 && gg_run test_scripts_debug
+        fi
         test $ret -eq 0 && gg_run test_scripts_release
         test $ret -eq 0 && gg_run test_scripts_release
     fi
     fi
 
 
@@ -846,7 +850,9 @@ if [ -z ${GG_BUILD_LOW_PERF} ]; then
             test $ret -eq 0 && gg_run pythia_2_8b
             test $ret -eq 0 && gg_run pythia_2_8b
             #test $ret -eq 0 && gg_run open_llama_7b_v2
             #test $ret -eq 0 && gg_run open_llama_7b_v2
         fi
         fi
-        test $ret -eq 0 && gg_run ctest_with_model_debug
+        if [ -z ${GG_BUILD_SYCL} ]; then
+            test $ret -eq 0 && gg_run ctest_with_model_debug
+        fi
         test $ret -eq 0 && gg_run ctest_with_model_release
         test $ret -eq 0 && gg_run ctest_with_model_release
     fi
     fi
 fi
 fi