Remove stop using ROCm release tags for library version numbers.

Version is now a fixed string that matches previous internal builds.
This also matches released DEB/RPM builds (but not github versions).

Change-Id: Id4819b9de8c855250aadf1a1cebb187b5c031721


[ROCm/ROCR-Runtime commit: 400304aa10]
This commit is contained in:
Sean Keely
2019-02-05 19:52:55 -06:00
parent 30363b9dbb
commit 3183fea597
2 changed files with 19 additions and 19 deletions
@@ -72,8 +72,8 @@ if ( HAVE_MEMFD_CREATE )
add_definitions ( -DHAVE_MEMFD_CREATE )
endif()
## Get the package version. The defaults to 1.0.0.
get_version ( "1.0.0" )
## Get the package version.
get_version ( "1.1.9" )
set ( BUILD_VERSION_MAJOR ${VERSION_MAJOR} )
set ( BUILD_VERSION_MINOR ${VERSION_MINOR} )
@@ -89,23 +89,23 @@ function ( get_version DEFAULT_VERSION_STRING )
parse_version ( ${DEFAULT_VERSION_STRING} )
find_program ( GIT NAMES git )
if ( GIT )
execute_process ( COMMAND git describe --tags --dirty --long
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
OUTPUT_VARIABLE GIT_TAG_STRING
OUTPUT_STRIP_TRAILING_WHITESPACE
RESULT_VARIABLE RESULT )
if ( ${RESULT} EQUAL 0 )
parse_version ( ${GIT_TAG_STRING} )
endif ()
endif ()
## find_program ( GIT NAMES git )
##
## if ( GIT )
##
## execute_process ( COMMAND git describe --tags --dirty --long
## WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
## OUTPUT_VARIABLE GIT_TAG_STRING
## OUTPUT_STRIP_TRAILING_WHITESPACE
## RESULT_VARIABLE RESULT )
##
## if ( ${RESULT} EQUAL 0 )
##
## parse_version ( ${GIT_TAG_STRING} )
##
## endif ()
##
## endif ()
set( VERSION_STRING "${VERSION_STRING}" PARENT_SCOPE )
set( VERSION_MAJOR "${VERSION_MAJOR}" PARENT_SCOPE )