Changing to rocm-cmake new style versioning (#103)

[ROCm/rccl commit: fdee095dd3]
Tá an tiomantas seo le fáil i:
saadrahim údaraithe agus Saad Rahim tiomanta 2019-07-22 23:40:13 +00:00
1 tuismitheoir d7f25d5be7
tiomantas 596e200499
1 comhad athraithe
+1 -9
+1 -9
Féach ar an gComhad
@@ -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