build: change ABI versioning to global
authorMarcin Baran <marcinx.baran@intel.com>
Wed, 20 Nov 2019 17:23:28 +0000 (17:23 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Wed, 20 Nov 2019 22:05:39 +0000 (23:05 +0100)
commitcba806e07d6f7e6cfa9749346f2dc75288f984f7
treeda1d8c885874d725c6ea20e3b44d233dd0e5984b
parent69b1bb49ed82a4e96b67046f4916eecc14c6ad55
build: change ABI versioning to global

As per new ABI policy [1], all of the libraries are now versioned using
one global ABI version. Stable libraries use the MAJOR.MINOR ABI
version for their shared objects, while experimental libraries
use the 0.MAJORMINOR convention for their versioning.
Experimental library versioning is managed globally. Changes in this
patch implement the necessary steps to enable that.

The CONFIG_RTE_MAJOR_ABI option was introduced to permit multiple
DPDK versions installed side by side. The problem is now addressed
through the new ABI policy, and thus can be removed.

[David] For external libraries relying on Makefile, LIBABIVER is
preserved to avoid using DPDK global ABI version.

[1] https://doc.dpdk.org/guides/contributing/abi_policy.html

Signed-off-by: Marcin Baran <marcinx.baran@intel.com>
Signed-off-by: Pawel Modrak <pawelx.modrak@intel.com>
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
Acked-by: Thomas Monjalon <thomas@monjalon.net>
ABI_VERSION [new file with mode: 0644]
buildtools/meson.build
config/common_base
config/meson.build
doc/guides/contributing/abi_versioning.rst
doc/guides/contributing/coding_style.rst
drivers/meson.build
lib/meson.build
meson_options.txt
mk/rte.lib.mk