diff --git a/continuous-integration/linux/platform-dependent/common.sh b/continuous-integration/linux/platform-dependent/common.sh index ff386115..92877a0e 100644 --- a/continuous-integration/linux/platform-dependent/common.sh +++ b/continuous-integration/linux/platform-dependent/common.sh @@ -3,7 +3,7 @@ SCRIPT_DIR="$(realpath $(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd) )" function ubuntu_install_opencl_cpu_runtime { - + PACKAGE_VERSION=2023.2.2-47 # Download the key to system keyring INTEL_KEY_URL=https://apt.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB wget -O- $INTEL_KEY_URL | gpg --dearmor | tee /usr/share/keyrings/oneapi-archive-keyring.gpg > /dev/null || exit $? @@ -13,8 +13,7 @@ function ubuntu_install_opencl_cpu_runtime { apt update || exit $? # Install the OpenCL runtime - apt --assume-yes install intel-opencl-icd intel-oneapi-runtime-opencl-2024 intel-oneapi-runtime-compilers-2024 || exit $? - + apt --assume-yes install intel-oneapi-runtime-opencl=$PACKAGE_VERSION intel-oneapi-runtime-compilers=$PACKAGE_VERSION intel-oneapi-runtime-openmp=$PACKAGE_VERSION || exit $? } function fedora_install_opencl_cpu_runtime {