From eb8b47002de99b652ecbfce46c4c7f02bbc7de35 Mon Sep 17 00:00:00 2001 From: Artyom Anokhov Date: Wed, 1 Feb 2023 20:24:50 +0100 Subject: [PATCH] install_NEO_OCL_driver: Unlock possibility to install GPU driver on ubu22 (#15440) --- scripts/install_dependencies/install_NEO_OCL_driver.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install_dependencies/install_NEO_OCL_driver.sh b/scripts/install_dependencies/install_NEO_OCL_driver.sh index f1b98fdba61..14579069574 100755 --- a/scripts/install_dependencies/install_NEO_OCL_driver.sh +++ b/scripts/install_dependencies/install_NEO_OCL_driver.sh @@ -396,10 +396,10 @@ _check_distro_version() UBUNTU_VERSION=$(grep -m1 'VERSION_ID' /etc/os-release | grep -Eo "[0-9]{2}.[0-9]{2}") if [[ $UBUNTU_VERSION == '18.04' ]]; then INSTALL_DRIVER_VERSION='21.38.21026' - elif [[ $UBUNTU_VERSION == '20.04' ]]; then + elif [[ $UBUNTU_VERSION == '20.04' || $UBUNTU_VERSION == '22.04' ]]; then INSTALL_DRIVER_VERSION='22.35.24055' else - echo "Warning: This runtime can be installed only on Ubuntu 18.04 or Ubuntu 20.04." + echo "Warning: This runtime can be installed only on Ubuntu 18.04, Ubuntu 20.04 or Ubuntu 22.04." echo "More info https://github.com/intel/compute-runtime/releases" >&2 echo "Installation of Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver interrupted" exit $EXIT_FAILURE