File: bump_develop_version.sh

package info (click to toggle)
rocblas 6.4.4-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,082,776 kB
  • sloc: cpp: 244,923; f90: 50,012; python: 50,003; sh: 24,630; asm: 8,917; makefile: 151; ansic: 107; xml: 36; awk: 14
file content (23 lines) | stat: -rwxr-xr-x 750 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash

# for the develop branch this script bumps the Tensile version and hash and the rocBLAS version

OLD_TENSILE_VERSION="TENSILE_VERSION 4.41.0"
NEW_TENSILE_VERSION="TENSILE_VERSION 4.42.0"

OLD_TENSILE_HASH="34a42538e425c330b52694e3adf9fcda537db1dd"
NEW_TENSILE_HASH="2f9ef2fbe7732dd9923f1c7a22a530ba2b651ea2"

OLD_ROCBLAS_VERSION="4.3.0"
NEW_ROCBLAS_VERSION="4.4.0"

OLD_SO_VERSION="rocblas_SOVERSION 4.3"
NEW_SO_VERSION="rocblas_SOVERSION 4.4"

sed -i "s/${OLD_TENSILE_VERSION}/${NEW_TENSILE_VERSION}/g" CMakeLists.txt

sed -i "s/${OLD_TENSILE_HASH}/${NEW_TENSILE_HASH}/g" tensile_tag.txt

sed -i "s/${OLD_ROCBLAS_VERSION}/${NEW_ROCBLAS_VERSION}/g" CMakeLists.txt

sed -i "s/${OLD_SO_VERSION}/${NEW_SO_VERSION}/g" library/CMakeLists.txt