Revert "build: improve L0 driver versioning to allow HotFix number"

This reverts commit 56847274fa.

Reverting due to bug in unified runtime:
https://github.com/oneapi-src/unified-runtime/issues/1777

Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
Artur Harasimiuk
2024-06-21 10:31:08 +00:00
committed by Compute-Runtime-Automation
parent 8698e7fb43
commit a9795349b4
11 changed files with 13 additions and 27 deletions

View File

@ -74,10 +74,6 @@ if(NOT DEFINED NEO_VERSION_BUILD)
set(NEO_VERSION_BUILD 0)
endif()
if(NOT DEFINED NEO_VERSION_HOTFIX)
set(NEO_VERSION_HOTFIX 0)
endif()
# OpenCL pacakge version
set(NEO_OCL_DRIVER_VERSION "${NEO_OCL_VERSION_MAJOR}.${NEO_OCL_VERSION_MINOR}.${NEO_VERSION_BUILD}")
@ -87,4 +83,3 @@ set(NEO_L0_VERSION_MINOR 3)
# Remove leading zeros
string(REGEX REPLACE "^0+([0-9]+)" "\\1" NEO_VERSION_BUILD "${NEO_VERSION_BUILD}")
string(REGEX REPLACE "^0+([0-9]+)" "\\1" NEO_VERSION_HOTFIX "${NEO_VERSION_HOTFIX}")