Skip to content

Commit

Permalink
i#5145 v9.0: Update version number to 9.0
Browse files Browse the repository at this point in the history
Updates the default version number in the sources and package commands
to 9.0.

Updates the oldest compatible version to 9.0.

Issue: #5145
  • Loading branch information
derekbruening committed Nov 29, 2021
1 parent 800ba1d commit 4d377b7
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
# We only use a non-zero build # when making multiple manual builds in one day.
run: |
if test -z "${{ github.event.inputs.version }}"; then
export VERSION_NUMBER=8.0.$((`git log -n 1 --format=%ct` / (60*60*24)))
export VERSION_NUMBER=9.0.$((`git log -n 1 --format=%ct` / (60*60*24)))
else
export VERSION_NUMBER=${{ github.event.inputs.version }}
fi
Expand Down Expand Up @@ -188,7 +188,7 @@ jobs:
# XXX: See x86 job comments on sharing the default ver# with CMakeLists.txt.
run: |
if test -z "${{ github.event.inputs.version }}"; then
export VERSION_NUMBER=8.0.$((`git log -n 1 --format=%ct` / (60*60*24)))
export VERSION_NUMBER=9.0.$((`git log -n 1 --format=%ct` / (60*60*24)))
else
export VERSION_NUMBER=${{ github.event.inputs.version }}
fi
Expand Down Expand Up @@ -272,7 +272,7 @@ jobs:
# XXX: See x86 job comments on sharing the default ver# with CMakeLists.txt.
run: |
if test -z "${{ github.event.inputs.version }}"; then
export VERSION_NUMBER=8.0.$((`git log -n 1 --format=%ct` / (60*60*24)))
export VERSION_NUMBER=9.0.$((`git log -n 1 --format=%ct` / (60*60*24)))
else
export VERSION_NUMBER=${{ github.event.inputs.version }}
fi
Expand Down Expand Up @@ -357,7 +357,7 @@ jobs:
# XXX: See x86 job comments on sharing the default ver# with CMakeLists.txt.
run: |
if test -z "${{ github.event.inputs.version }}"; then
export VERSION_NUMBER=8.0.$((`git log -n 1 --format=%ct` / (60*60*24)))
export VERSION_NUMBER=9.0.$((`git log -n 1 --format=%ct` / (60*60*24)))
else
export VERSION_NUMBER=${{ github.event.inputs.version }}
fi
Expand Down Expand Up @@ -435,7 +435,7 @@ jobs:
# XXX: See x86 job comments on sharing the default ver# with CMakeLists.txt.
run: |
if test -z "${{ github.event.inputs.version }}"; then
export VERSION_NUMBER=8.0.$((`git log -n 1 --format=%ct` / (60*60*24)))
export VERSION_NUMBER=9.0.$((`git log -n 1 --format=%ct` / (60*60*24)))
else
export VERSION_NUMBER=${{ github.event.inputs.version }}
fi
Expand Down Expand Up @@ -518,7 +518,7 @@ jobs:
# XXX: See x86 job comments on sharing the default ver# with CMakeLists.txt.
run: |
if test -z "${{ github.event.inputs.version }}"; then
export VERSION_NUMBER="8.0.$((`git log -n 1 --format=%ct` / (60*60*24)))"
export VERSION_NUMBER="9.0.$((`git log -n 1 --format=%ct` / (60*60*24)))"
export PREFIX="cronbuild-"
else
export VERSION_NUMBER=${{ github.event.inputs.version }}
Expand Down
7 changes: 5 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ endif (EXISTS "${PROJECT_SOURCE_DIR}/.svn")

# N.B.: when updating this, update the default version in ci-package.yml.
# We should find a way to share (xref i#1565).
set(VERSION_NUMBER_DEFAULT "8.0.${VERSION_NUMBER_PATCHLEVEL}")
set(VERSION_NUMBER_DEFAULT "9.0.${VERSION_NUMBER_PATCHLEVEL}")
# do not store the default VERSION_NUMBER in the cache to prevent a stale one
# from preventing future version updates in a pre-existing build dir
set(VERSION_NUMBER "" CACHE STRING "Version number: leave empty for default")
Expand Down Expand Up @@ -1309,14 +1309,17 @@ math(EXPR VERSION_NUMBER_INTEGER
"${VERSION_NUMBER_MAJOR}*100 + ${VERSION_NUMBER_MINOR}")

# Every release since has had minor compat breakages.
# 8.xx broke backcompat by changing drcachesim field names, drmodtrack callbacks,
# emulated_instr_t fields, drcov output, drcachesim view counting, and
# drcachesim child statistics.
# 7.92 broke backcompat by changing 32-bit stack alignment to 16.
# 7.91 broke backcompat by adding a field to instr_t .
# 7.90 broke backcompat in DR_REG_ enums and OPSZ_ enums.
# 6.0 broke backcompat in Linux injection, mod load event, etc.
# 5.0 broke backcompat in drsyms and xmm opnd sizes
# 4.1 broke backcompat in drsyms + 64-bit core (opcodes + reachability)
# 4.0 broke backcompat in drmgr, drsyms, drinjectlib, and dr_get_milliseconds()
set(OLDEST_COMPATIBLE_VERSION_DEFAULT "792")
set(OLDEST_COMPATIBLE_VERSION_DEFAULT "900")
set(OLDEST_COMPATIBLE_VERSION "" CACHE STRING
"Oldest compatible version: leave empty for default")
if ("${OLDEST_COMPATIBLE_VERSION}" STREQUAL "")
Expand Down
2 changes: 1 addition & 1 deletion api/docs/release.dox
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ changes:
enum now completely overlaps the DR_REG_ enum.
This is a binary compatibility change for the OPSZ_ enum.
- Added a new encoding hint field to #instr_t.
- Added a requirement that a C++11-complient compiler be used with \ref page_droption.
- Added a requirement that a C++11-compliant compiler be used with \ref page_droption.
- Changed the syntax of the drcachesim -record_function option. It no longer takes
in an identifier: the identifier is computed by the tracer. It thus takes pairs,
with an optional third argument for flags such as "noret" to indicate that the
Expand Down

0 comments on commit 4d377b7

Please sign in to comment.