From: Akarshan Biswas Date: Wed, 26 Mar 2025 07:51:18 +0000 (+0530) Subject: ci: disable test-opt for now (#1158) X-Git-Tag: upstream/0.0.1898~89 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=fc21aba88324312d66f62af6a1b0683fcb2ce3b5;p=pkg%2Fggml%2Fsources%2Fggml ci: disable test-opt for now (#1158) * ci: disable test-opt for now * Use CTEXT_EXTRA to disable tests --- diff --git a/ci/run.sh b/ci/run.sh index 237f8039..1738aac2 100644 --- a/ci/run.sh +++ b/ci/run.sh @@ -34,6 +34,7 @@ cd $sd/../ SRC=`pwd` CMAKE_EXTRA="" +CTEST_EXTRA="" if [ ! -z ${GG_BUILD_CUDA} ]; then CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_CUDA=ON" @@ -54,6 +55,8 @@ if [ ! -z ${GG_BUILD_SYCL} ]; then fi export ONEAPI_DEVICE_SELECTOR="level_zero:0" export ZES_ENABLE_SYSMAN=1 + # No plan to implement backward pass for now / disable test-opt + CTEST_EXTRA="-E test-opt" CMAKE_EXTRA="${CMAKE_EXTRA} -DGGML_SYCL=1 -DCMAKE_C_COMPILER=icx -DCMAKE_CXX_COMPILER=icpx -DGGML_SYCL_F16=ON" fi @@ -115,7 +118,7 @@ function gg_run_ctest_debug { export GGML_METAL_PATH_RESOURCES="$(pwd)/bin" fi - (time ctest --output-on-failure -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log + (time ctest ${CTEST_EXTRA} --output-on-failure -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log set +e } @@ -148,9 +151,9 @@ function gg_run_ctest_release { fi if [ -z $GG_BUILD_LOW_PERF ]; then - (time ctest --output-on-failure ) 2>&1 | tee -a $OUT/${ci}-ctest.log + (time ctest ${CTEST_EXTRA} --output-on-failure ) 2>&1 | tee -a $OUT/${ci}-ctest.log else - (time ctest --output-on-failure -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log + (time ctest ${CTEST_EXTRA} --output-on-failure -E test-opt ) 2>&1 | tee -a $OUT/${ci}-ctest.log fi set +e