On Wed, Mar 13, 2019 at 12:13:52PM +0100, Thomas Monjalon wrote: > 07/03/2019 14:35, Bruce Richardson: > > +# > > +# Version information completed when this file is processed for a build > > +# > > +CONFIG_RTE_VER_YEAR=__YEAR > > +CONFIG_RTE_VER_MONTH=__MONTH > > +CONFIG_RTE_VER_MINOR=__MINOR > > +CONFIG_RTE_VER_SUFFIX=__SUFFIX > > +CONFIG_RTE_VER_RELEASE=__RELEASE > [...] > > -/** > > - * Patch release number > > - * 0-15 = release candidates > > - * 16 = release > > - */ > > -#define RTE_VER_RELEASE 0 > > So you are removing the special value 16. > Is it replaced by an empty value? > > I think it is an issue for version comparison with RTE_VERSION_NUM() macro. > The -rc3 must be lower than the final release (which had number 16 > for this reason). > Aha, that explains the reason for the 16 value. I did wonder why we bothered with it when it wasn't actually used in printing etc. Let me go back and look into this set again, armed with this new info. [We also need to document this reason in the code comments for future information]
- Re: [dpdk-dev] [RFC PATCH 0/4] One versionfile to rule th... Luca Boccassi
- Re: [dpdk-dev] [RFC PATCH 0/4] One versionfile to ru... Bruce Richardson
- [dpdk-dev] [PATCH v2 0/4] One versionfile to rule them al... Bruce Richardson
- [dpdk-dev] [PATCH v2 1/4] build: add single source o... Bruce Richardson
- Re: [dpdk-dev] [PATCH v2 1/4] build: add single ... Thomas Monjalon
- Re: [dpdk-dev] [PATCH v2 1/4] build: add sin... Bruce Richardson
- Re: [dpdk-dev] [PATCH v2 1/4] build: add... Thomas Monjalon
- Re: [dpdk-dev] [PATCH v2 1/4] build... Bruce Richardson
- [dpdk-dev] [PATCH v2 2/4] build: use version number ... Bruce Richardson
- Re: [dpdk-dev] [PATCH v2 2/4] build: use version... Thomas Monjalon
- Re: [dpdk-dev] [PATCH v2 2/4] build: use ver... Bruce Richardson
- Re: [dpdk-dev] [PATCH v2 2/4] build: use... Thomas Monjalon
- [dpdk-dev] [PATCH v2 4/4] eal: remove unneeded versi... Bruce Richardson
- [dpdk-dev] [PATCH v2 3/4] build: move meson version ... Bruce Richardson
- [dpdk-dev] [PATCH v3 0/4] One versionfile to rule them al... Bruce Richardson
- [dpdk-dev] [PATCH v3 2/4] build: move meson version ... Bruce Richardson
- [dpdk-dev] [PATCH v3 1/4] build: add single source o... Bruce Richardson
- [dpdk-dev] [PATCH v3 4/4] eal: remove unneeded versi... Bruce Richardson
- [dpdk-dev] [PATCH v3 3/4] build: use version number ... Bruce Richardson
- Re: [dpdk-dev] [PATCH v3 3/4] build: use version... Thomas Monjalon