Skip to content

Commit

Permalink
added support to install NEO drivers on rh8.6 (#12759)
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrawins authored Aug 25, 2022
1 parent 74567b5 commit 7369ce2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install_dependencies/install_NEO_OCL_driver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,10 @@ add_user_to_video_group()
_check_distro_version()
{
if [[ $DISTRO == redhat ]]; then
RHEL_MINOR_VERSION_SUPPORTED="[3-5]"
RHEL_MINOR_VERSION_SUPPORTED="[3-6]"
RHEL_VERSION=$(grep -m1 'VERSION_ID' /etc/os-release | grep -Eo "8.${RHEL_MINOR_VERSION_SUPPORTED}")
if [[ $? -ne 0 ]]; then
echo "Warning: This runtime can be installed only on RHEL 8.3, RHEL8.4 or RHEL 8.5"
echo "Warning: This runtime can be installed only on RHEL 8.3 up to RHEL 8.6"
echo "More info https://dgpu-docs.intel.com/releases/releases-20211130.html" >&2
echo "Installation of Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver interrupted"
exit $EXIT_FAILURE
Expand Down

0 comments on commit 7369ce2

Please sign in to comment.