On 12/01/16 01:09, Anders Roxell wrote:
On 30 November 2016 at 22:02, Mike Holmes <mike.hol...@linaro.org> wrote:
I just CC'ed you in Steve.

My head is spinning but I think we have this straight now, perhaps you have
time to sync with Maxim and  possibly Anders if he has time to check this
from ytour Debian background?

I think if we can get the next couple of release out correctly the pattern
will establish and it will be easier by the time we get to TigerMoth.

Mike

On 30 November 2016 at 15:32, Maxim Uvarov <maxim.uva...@linaro.org> wrote:

Default is abi compat mode, all interface functions changed,
so increase first number of .so

Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org>
---
  configure.ac | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index b460a65..fe7e47d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,7 +3,7 @@ AC_PREREQ([2.5])
  # Set correct API version
  ############################################################
##############
  m4_define([odpapi_generation_version], [1])
-m4_define([odpapi_major_version], [11])
+m4_define([odpapi_major_version], [12])
  m4_define([odpapi_minor_version], [0])
  m4_define([odpapi_point_version], [0])
  m4_define([odpapi_version],
@@ -30,10 +30,10 @@ AM_SILENT_RULES([yes])
  ############################################################
##############
  # Set correct platform library version
  ############################################################
##############
-ODP_LIBSO_VERSION=111:0:0
+ODP_LIBSO_VERSION=112:0:0
  AC_SUBST(ODP_LIBSO_VERSION)

-ODPHELPER_LIBSO_VERSION=110:0:1
+ODPHELPER_LIBSO_VERSION=110:1:2
Since the ABI isn't changed we shouldn't bump the age only the revision.
The curl project [1] describes the rules in a easier way.

Cheers,
Anders
[1] https://github.com/curl/curl/blob/master/lib/Makefile.am#L95

curl project is not official documentation for autotools. So we can take this under account but can not just follow it.

So we have 2 official links describing that numbers:

1. https://autotools.io/libtool/version.html
2. https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html

From link 1:
"Always increase the revision value. "

From link 2:
"If the library source code has changed at all since the last update, then increment revision (‘c:r:a’ becomes ‘c:/r+1/:a’). "


So I think we understood document right.

Maxim.

  AC_SUBST(ODPHELPER_LIBSO_VERSION)

  # Checks for programs.
--
2.7.1.250.gff4ea60



--
Mike Holmes
Program Manager - Linaro Networking Group
Linaro.org <http://www.linaro.org/> *│ *Open source software for ARM SoCs
"Work should be fun and collaborative, the rest follows"

Reply via email to