[llvm-dev] [cfe-dev] RFC: Update LLVM_VERSION_SUFFIX CMake variable for release candidates

Ben Boeckel via llvm-dev llvm-dev at lists.llvm.org
Thu Jul 1 08:26:49 PDT 2021


On Tue, Jun 29, 2021 at 10:39:01 -0700, Tom Stellard via cfe-dev wrote:
> I would like to propose that we start using the LLVM_VERSION_SUFFIX
> CMake variable for release candidates.  For example:
> after the release/13.x branch is created, instead of changing
> LLVM_VERSION_SUFFIX from "git" to "", we would change it to "rc1",
> then after the 13.0.0-rc1 release is tagged, we would update the
> variable to "rc2", etc. Then right before the final release has been
> tagged, we would set it to ""

Just a note that this can be confusing because there would now have
builds reporting as `13.0.0-rc1` without any corresponding tag in the
repository. I think that instead of doing that, changing it to be
`13.90.0` or something to indicate "after 13, but not yet 14" while
avoiding any (plausible) `13.x` release number might be a better
strategy.

I learned this trick from KDE by the way if any prior art is wanted.

(Just an outside observer, FWIW.)

--Ben


More information about the llvm-dev mailing list