Skip to content

Commit

Permalink
prepare 3.12 release for ROCm4.2 (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
jzuniga-amd committed Feb 27, 2021
1 parent 6221604 commit 124b3bc
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 12 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Full documentation for rocSOLVER is available at [rocsolver.readthedocs.io](https://rocsolver.readthedocs.io/en/latest/).

## [(Unreleased) rocSOLVER for ROCm 4.2.0]
## [rocSOLVER 3.12.0 for ROCm 4.2.0]
### Added
- Multi-level logging functionality
- Implementation of the Thin-SVD algorithm
Expand Down
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ get_os_id(OS_ID)
message (STATUS "OS detected is ${OS_ID}")

# Versioning via rocm-cmake
set ( VERSION_STRING "3.11.0" )
set ( VERSION_STRING "3.12.0" )
rocm_setup_version( VERSION ${VERSION_STRING} )

# NOTE: workaround until llvm & hip cmake modules fixes symlink logic in their config files; remove when fixed
Expand Down
20 changes: 14 additions & 6 deletions bump_rocsolver_version.sh
Original file line number Diff line number Diff line change
@@ -1,14 +1,22 @@
#!/bin/sh

# This script needs to be edited to bump rocsolver version for new release.
# - run this script in develop before merging developi/staging into master
# - run this script in develop before merging develop/staging into master

OLD_ROCSOLVER_VERSION="3.10.0" #Released in October/November 2020
NEW_ROCSOLVER_VERSION="3.11.0" #To release in February 2021
OLD_ROCSOLVER_VERSION="3.11.0" #Released in February/March 2021
NEW_ROCSOLVER_VERSION="3.12.0" #To release in April/May 2021
sed -i "s/${OLD_ROCSOLVER_VERSION}/${NEW_ROCSOLVER_VERSION}/g" CMakeLists.txt

# for documentation
OLD_ROCSOLVER_DOCS_VERSION="3.11"
NEW_ROCSOLVER_DOCS_VERSION="3.12"
sed -i "s/${OLD_ROCSOLVER_DOCS_VERSION}/${NEW_ROCSOLVER_DOCS_VERSION}/g" docs/source/conf.py

# for rocBLAS package requirements
OLD_ROCBLAS_VERSION_DOWN="2.37"
NEW_ROCBLAS_VERSION_DOWN="2.38"
OLD_ROCBLAS_VERSION_UP="2.38"
NEW_ROCBLAS_VERSION_UP="2.39"
sed -i "s/${OLD_ROCBLAS_VERSION_UP}/${NEW_ROCBLAS_VERSION_UP}/g" library/CMakeLists.txt
sed -i "s/${OLD_ROCBLAS_VERSION_DOWN}/${NEW_ROCBLAS_VERSION_DOWN}/g" library/CMakeLists.txt

OLD_ROCSOLVER_VERSION="3.10"
NEW_ROCSOLVER_VERSION="3.11"
sed -i "s/${OLD_ROCSOLVER_VERSION}/${NEW_ROCSOLVER_VERSION}/g" docs/source/conf.py
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@
# built documents.
#
# The short X.Y version.
version = u'3.11'
version = u'3.12'
# The full version, including alpha/beta/rc tags.
release = u'3.11.0'
release = u'3.12.0'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ set( INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR} )
add_subdirectory( src )

# Package specific CPACK vars
set( CPACK_DEBIAN_PACKAGE_DEPENDS "rocblas (>= 2.37), rocblas (<< 2.38)" )
set( CPACK_RPM_PACKAGE_REQUIRES "rocblas >= 2.37, rocblas < 2.38" )
set( CPACK_DEBIAN_PACKAGE_DEPENDS "rocblas (>= 2.38), rocblas (<< 2.39)" )
set( CPACK_RPM_PACKAGE_REQUIRES "rocblas >= 2.38, rocblas < 2.39" )

if( OS_ID_sles )
set( RPM_REQUIREMENTS "${RPM_REQUIREMENTS}, libLLVM7 >= 7.0.1")
Expand Down

0 comments on commit 124b3bc

Please sign in to comment.