File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
build_tools/github_actions Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ VERSION_H="stablehlo/dialect/Version.h"
2626set_version_var () {
2727 # getCurrentVersion() { Version(0, X, Y); }
2828 VERSION_STR=$( cat $VERSION_H | grep getCurrentVersion -A1 | grep -o ' Version(.*[0-9])' )
29- REGEX=" Version\(/\*.*=\*/ ([0-9]+), /\*.*=\*/ ([0-9]+), /\*.*=\*/[^0-9]* ([0-9]+)\)"
29+ REGEX=" Version\(([0-9]+), ([0-9]+), ([0-9]+)\)"
3030 if [[ $VERSION_STR =~ $REGEX ]]; then
3131 VERSION=(" ${BASH_REMATCH[1]} " " ${BASH_REMATCH[2]} " " ${BASH_REMATCH[3]} " )
3232 else
Original file line number Diff line number Diff line change @@ -38,14 +38,10 @@ class Version {
3838 static FailureOr<Version> fromString (llvm::StringRef versionRef);
3939
4040 // / Return a Version representing the current VHLO dialect version.
41- static Version getCurrentVersion () {
42- return Version (/* major=*/ 0 , /* minor=*/ 19 , /* patch=*/ 0 );
43- }
41+ static Version getCurrentVersion () { return Version (0 , 19 , 1 ); }
4442
4543 // / Return a Version representing the minimum supported VHLO dialect version.
46- static Version getMinimumVersion () {
47- return Version (/* major=*/ 0 , /* minor=*/ 9 , /* patch=*/ 0 );
48- }
44+ static Version getMinimumVersion () { return Version (0 , 9 , 0 ); }
4945
5046 // / Return the MLIR Bytecode Format associated with the version instance.
5147 // / Returns failure if version is not in compatibility window.
You can’t perform that action at this time.
0 commit comments