Enable kernel compiler cache for SYCL DPC++
[alexxy/gromacs.git] / admin / ci-scripts / gromacs-base-test.sh
index fa5f5142c561f7e809ff0df930fc7fe7ce27edf8..2134ccd94f502f67b557eaa40f5a4a03247255b9 100755 (executable)
@@ -22,6 +22,7 @@ if grep -qF 'amd.com/gpu' <<< "$KUBERNETES_EXTENDED_RESOURCE_NAME"; then
 fi
 if grep -qF 'intel.com/gpu' <<< "$KUBERNETES_EXTENDED_RESOURCE_NAME"; then
     sycl-ls || true;
+    export SYCL_CACHE_PERSISTENT=1; # Issue #4218
 fi
 ctest -D $CTEST_RUN_MODE --output-on-failure | tee ctestLog.log || true
 awk '/The following tests FAILED/,/^Errors while running CTest|^$/' ctestLog.log | tee ctestErrors.log