diff --git a/CMakeLists.txt b/CMakeLists.txt index 2a5f91040..c22a4cb6c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -56,15 +56,7 @@ endif() # Setup VERSION set(VERSION_STRING "2.6.0.") - -# Check if BUILD_NUMBER is defined in a Jenkins environment -if($ENV{BUILD_NUMBER}) - string(CONCAT BUILD_VERSION ${VERSION_STRING} $ENV{BUILD_NUMBER}) -else() - string(CONCAT BUILD_VERSION ${VERSION_STRING} "0") -endif() - -rocm_setup_version(VERSION ${BUILD_VERSION} NO_GIT_TAG_VERSION) +rocm_setup_version(VERSION ${VERSION_STRING}) list(APPEND CMAKE_PREFIX_PATH /opt/rocm