diff mbox

[PATCHv8,3/3] configure.ac update version numbers

Message ID 1480437156-32174-4-git-send-email-maxim.uvarov@linaro.org
State Superseded
Headers show

Commit Message

Maxim Uvarov Nov. 29, 2016, 4:32 p.m. UTC
Default is abi compat mode, all interface functions changed,
so increase first number of .so

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

---
 configure.ac | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.7.1.250.gff4ea60

Comments

Mike Holmes Nov. 29, 2016, 6:09 p.m. UTC | #1
On 29 November 2016 at 11:32, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:

> Default is abi compat mode, all interface functions changed,

> so increase first number of .so

>

> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

> ---

>  configure.ac | 6 +++---

>  1 file changed, 3 insertions(+), 3 deletions(-)

>

> diff --git a/configure.ac b/configure.ac

> index b460a65..e7b8f8a 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=112:0:0

>


I am not a lib expert but I expected this to be 111.1.2 becasue there was
no API Change and it is backwards compatible

mike@mike-desktop:~/git/odp$ git df -w --stat origin/monarch_lts..origin/master
helper
 helper/Makefile.am |  2 ++
 helper/chksum.c    | 25 ++++++++++++++++---------
 2 files changed, 18 insertions(+), 9 deletions(-)

using info from
https://autotools.io/libtool/version.html


So for *current*, *revision* and *age*.

   -

   Always increase the revision value.
   -

   Increase the current value whenever an interface has been added, removed
   or changed.
   -

   Increase the age value only if the changes made to the ABI are backward
   compatible.


So I get 111 < rule two nothing changed in the interface :1 < rule one
always +1 :2 < rule three, looks like the code is compatible

I also used the debian tool to check and it appears to show 100%
compatibility with master (the default GIT_URL/GIT_BRANCH)

mike@mike-desktop:~/git/check-odp$ COMPARE_URL=
https://git.linaro.org/lng/odp.git COMPARE_BRANCH=v1.11.0.0_monarch
./diff-abi.sh

See here
http://people.linaro.org/~mike.holmes/diff-abi/libodphelper-compat_report.html

Experts please weigh in :)




>  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"
Mike Holmes Nov. 29, 2016, 6:29 p.m. UTC | #2
More detailed flow on how to figure out the number

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

On 29 November 2016 at 13:09, Mike Holmes <mike.holmes@linaro.org> wrote:

>

>

> On 29 November 2016 at 11:32, Maxim Uvarov <maxim.uvarov@linaro.org>

> wrote:

>

>> Default is abi compat mode, all interface functions changed,

>> so increase first number of .so

>>

>> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>

>> ---

>>  configure.ac | 6 +++---

>>  1 file changed, 3 insertions(+), 3 deletions(-)

>>

>> diff --git a/configure.ac b/configure.ac

>> index b460a65..e7b8f8a 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=112:0:0

>>

>

> I am not a lib expert but I expected this to be 111.1.2 becasue there was

> no API Change and it is backwards compatible

>

> mike@mike-desktop:~/git/odp$ git df -w --stat

> origin/monarch_lts..origin/master helper

>  helper/Makefile.am |  2 ++

>  helper/chksum.c    | 25 ++++++++++++++++---------

>  2 files changed, 18 insertions(+), 9 deletions(-)

>

> using info from

> https://autotools.io/libtool/version.html

>

>

> So for *current*, *revision* and *age*.

>

>    -

>

>    Always increase the revision value.

>    -

>

>    Increase the current value whenever an interface has been added,

>    removed or changed.

>    -

>

>    Increase the age value only if the changes made to the ABI are

>    backward compatible.

>

>

> So I get 111 < rule two nothing changed in the interface :1 < rule one

> always +1 :2 < rule three, looks like the code is compatible

>

> I also used the debian tool to check and it appears to show 100%

> compatibility with master (the default GIT_URL/GIT_BRANCH)

>

> mike@mike-desktop:~/git/check-odp$ COMPARE_URL=https://git.

> linaro.org/lng/odp.git COMPARE_BRANCH=v1.11.0.0_monarch ./diff-abi.sh

>

> See here

> http://people.linaro.org/~mike.holmes/diff-abi/libodphelper-compat_report.

> html

>

> Experts please weigh in :)

>

>

>

>

>>  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"

>

>

>



-- 
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"
Maxim Uvarov Nov. 29, 2016, 6:44 p.m. UTC | #3
On 11/29/16 21:29, Mike Holmes wrote:
> More detailed flow on how to figure out the number

>

> https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html

>


I take into account that all other odp platfroms will inherit 
configure.ac from linux-generic.
And might be will be happy to stay with numbers which we have there.

Maxim.

> On 29 November 2016 at 13:09, Mike Holmes <mike.holmes@linaro.org 

> <mailto:mike.holmes@linaro.org>> wrote:

>

>

>

>     On 29 November 2016 at 11:32, Maxim Uvarov

>     <maxim.uvarov@linaro.org <mailto:maxim.uvarov@linaro.org>> wrote:

>

>         Default is abi compat mode, all interface functions changed,

>         so increase first number of .so

>

>         Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org

>         <mailto:maxim.uvarov@linaro.org>>

>         ---

>         configure.ac <http://configure.ac> | 6 +++---

>          1 file changed, 3 insertions(+), 3 deletions(-)

>

>         diff --git a/configure.ac <http://configure.ac> b/configure.ac

>         <http://configure.ac>

>         index b460a65..e7b8f8a 100644

>         --- a/configure.ac <http://configure.ac>

>         +++ b/configure.ac <http://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=112:0:0

>

>

>     I am not a lib expert but I expected this to be 111.1.2 becasue

>     there was no API Change and it is backwards compatible

>

>     mike@mike-desktop:~/git/odp$ git df -w --stat

>     origin/monarch_lts..origin/master helper

>      helper/Makefile.am |  2 ++

>      helper/chksum.c    | 25 ++++++++++++++++---------

>      2 files changed, 18 insertions(+), 9 deletions(-)

>

>     using info from

>     https://autotools.io/libtool/version.html

>     <https://autotools.io/libtool/version.html>

>

>

>     So for /current/, /revision/ and /age/.

>

>      *

>

>         Always increase the revision value.

>

>      *

>

>         Increase the current value whenever an interface has been

>         added, removed or changed.

>

>      *

>

>         Increase the age value only if the changes made to the ABI are

>         backward compatible.

>

>

>     So I get 111 < rule two nothing changed in the interface :1 < rule

>     one always +1 :2 < rule three, looks like the code is compatible

>

>     I also used the debian tool to check and it appears to show 100%

>     compatibility with master (the default GIT_URL/GIT_BRANCH)

>

>     mike@mike-desktop:~/git/check-odp$

>     COMPARE_URL=https://git.linaro.org/lng/odp.git

>     <https://git.linaro.org/lng/odp.git>

>     COMPARE_BRANCH=v1.11.0.0_monarch ./diff-abi.sh

>

>     See here

>     http://people.linaro.org/~mike.holmes/diff-abi/libodphelper-compat_report.html

>     <http://people.linaro.org/%7Emike.holmes/diff-abi/libodphelper-compat_report.html>

>

>     Experts please weigh in :)

>

>

>          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"

>

>

>

>

> -- 

> 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"

>
diff mbox

Patch

diff --git a/configure.ac b/configure.ac
index b460a65..e7b8f8a 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=112:0:0
 AC_SUBST(ODPHELPER_LIBSO_VERSION)
 
 # Checks for programs.