From 544d4fb7046f14880c48d407e7b248aa61f360f9 Mon Sep 17 00:00:00 2001 From: saadrahim <44449863+saadrahim@users.noreply.github.com> Date: Fri, 23 Aug 2019 16:33:38 -0600 Subject: [PATCH] Updating versioning to follow rocm-cmake standard (#126) --- CMakeLists.txt | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c33228b186..b00c3af91d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,16 +55,7 @@ else() 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 "2.7.0") list(APPEND CMAKE_PREFIX_PATH /opt/rocm