numam-dpdk/doc/guides
Christian Ehrhardt 630f6ec11e mk: provide option to set major ABI version
Downstreams might want to provide different DPDK releases at the same
time to support multiple consumers of DPDK linked against older and newer
sonames.

Also due to the interdependencies that DPDK libraries can have applications
might end up with an executable space in which multiple versions of a
library are mapped by ld.so.

Think of LibA that got an ABI bump and LibB that did not get an ABI bump
but is depending on LibA.

    Application
    \-> LibA.old
    \-> LibB.new -> LibA.new

That is a conflict which can be avoided by setting CONFIG_RTE_MAJOR_ABI.
If set CONFIG_RTE_MAJOR_ABI overwrites any LIBABIVER value.
An example might be ``CONFIG_RTE_MAJOR_ABI=16.11`` which will make all
libraries librte<?>.so.16.11 instead of librte<?>.so.<LIBABIVER>.

We need to cut arbitrary long stings after the .so now and this would work
for any ABI version in LIBABIVER:
  $(Q)ln -s -f $< $(patsubst %.$(LIBABIVER),%,$@)
But using the following instead additionally allows to simplify the Make
File for the CONFIG_RTE_NEXT_ABI case.
  $(Q)ln -s -f $< $(shell echo $@ | sed 's/\.so.*/.so/')

Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Reviewed-by: Jan Blunck <jblunck@infradead.org>
Tested-by: Jan Blunck <jblunck@infradead.org>
2017-03-16 18:20:01 +01:00
..
contributing mk: provide option to set major ABI version 2017-03-16 18:20:01 +01:00
cryptodevs doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
faq doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
freebsd_gsg doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
howto doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
linux_gsg doc: fix renamed bind tool 2017-03-06 17:53:21 +01:00
nics remove unmaintained TILE-Gx architecture 2017-03-15 11:40:57 +01:00
prog_guide lpm6: extend next hop field 2017-03-15 18:49:41 +01:00
rel_notes lpm6: extend next hop field 2017-03-15 18:49:41 +01:00
sample_app_ug mbuf: use pktmbuf helper to create the pool 2017-03-15 13:48:02 +01:00
testpmd_app_ug app/testpmd: add default MAC set command 2017-03-15 18:21:49 +01:00
tools doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
xen doc: use corelist instead of coremask 2017-03-01 20:39:58 +01:00
conf.py make python scripts PEP8 compliant 2017-01-04 21:12:58 +01:00
index.rst doc: rearrange the high level index 2016-11-13 15:25:12 +01:00