Skip to content

Commit

Permalink
Changing to rocm-cmake new style versioning (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
saadrahim committed Jul 22, 2019
1 parent 0522041 commit fdee095
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fdee095

Please sign in to comment.