Revert - SWDEV-521313 Streamline Version Management (#5)
Proposed Change: The Version String is causing build issue for onnxruntime (SWDEV-521313) Reverts [AMD-ROCm-Internal/rocm-core/4](https://github.com/AMD-ROCm-Internal/rocm-core/pull/4)
This commit is contained in:
+2
-2
@@ -138,9 +138,9 @@ endif()
|
||||
|
||||
#Add the libpatch version if available to the version file
|
||||
if( DEFINED VERSION_POINT )
|
||||
file ( WRITE "${CMAKE_CURRENT_BINARY_DIR}/version" "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}.${VERSION_POINT}\n" )
|
||||
file ( WRITE "${CMAKE_CURRENT_BINARY_DIR}/version" "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}.${VERSION_POINT}-${BUILD_ID}\n" )
|
||||
else()
|
||||
file ( WRITE "${CMAKE_CURRENT_BINARY_DIR}/version" "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}\n" )
|
||||
file ( WRITE "${CMAKE_CURRENT_BINARY_DIR}/version" "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}-${BUILD_ID}\n" )
|
||||
endif()
|
||||
|
||||
## Support for Static and Shared Target Packaging
|
||||
|
||||
Reference in New Issue
Block a user