Bump minimum meson version to 0.47.1 and backport patches
[deb_dpdk.git] / debian / patches / 0006-build-reorder-libraries-and-build-eal-before-cmdline.patch
1 Author: Luca Boccassi <bluca@debian.org>
2 Description: reorder libraries and build eal before cmdline
3  Most libraries and PMDs depend on eal, and eal depends only on kvargs,
4  so reorder the list in Meson to reflect this and take advantage of this
5  dependency chain.
6 Origin: https://patches.dpdk.org/patch/49997/
7 --- a/lib/meson.build
8 +++ b/lib/meson.build
9 @@ -9,9 +9,10 @@
10  # given as a dep, no need to mention ring. This is especially true for the
11  # core libs which are widely reused, so their deps are kept to a minimum.
12  libraries = [ 'compat', # just a header, used for versioning
13 -       'cmdline', # ethdev depends on cmdline for parsing functions
14         'kvargs', # eal depends on kvargs
15 -       'eal', 'ring', 'mempool', 'mbuf', 'net', 'ethdev', 'pci', # core
16 +       'eal', # everything depends on eal
17 +       'cmdline', # ethdev depends on cmdline for parsing functions
18 +       'ring', 'mempool', 'mbuf', 'net', 'ethdev', 'pci', # core
19         'metrics', # bitrate/latency stats depends on this
20         'hash',    # efd depends on this
21         'timer',   # eventdev depends on this