Go to file
Thomas Monjalon 2cca60310a buildtools: get static mlx dependencies for meson
The shell script options-ibverbs-static.sh was used with make
in forcing static linkage of ibverbs libraries.

When choosing to link with a static dependency in meson,
the generated .pc file will not force such static linkage.
The solution will rely on using this script in meson.

If linking with libraries installed in a non-standard path,
an option -L is provided via EXTRA_LDFLAGS in case of using make.
With meson, tuning PKG_CONFIG_PATH for pkg-config should be enough.
When statically linking an application, the .pc file must save the
-L path so the application link will work without any extra option.
That's why --libs-only-l is replaced with --libs which includes -L.
Options which are neither -l or -L are filtered out because not needed
and can cause compilation issues with the legacy system using make.

The other change in this script is to drop the first occurrences of the
main library file (libiverbs.a). Only the last occurrence is kept.
It fixes some undefined references when linking a static application
using libdpdk.pc.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
2020-02-14 12:42:13 +01:00
.ci devtools: add ABI checks 2020-02-05 15:14:46 +01:00
app app/testpmd: add --portlist option 2020-02-14 12:42:12 +01:00
buildtools buildtools: get static mlx dependencies for meson 2020-02-14 12:42:13 +01:00
config config: deduplicate options 2020-02-12 11:32:15 +01:00
devtools fix Mellanox copyright and SPDX tag 2020-02-13 18:47:28 +01:00
doc net/mlx: add static ibverbs linkage with meson 2020-02-14 12:42:13 +01:00
drivers net/mlx: add static ibverbs linkage with meson 2020-02-14 12:42:13 +01:00
examples examples/ipsec-secgw: add missing SPDX license tag 2020-02-13 12:41:04 +01:00
kernel kni: fix build with Linux 5.6 2020-02-13 18:27:41 +01:00
lib cryptodev: fix doxygen of CPU crypto API 2020-02-13 12:41:04 +01:00
license license: add exceptions for Windows 2020-02-12 22:50:29 +01:00
mk mk: ignore missing field initializers warning 2020-02-06 09:09:37 +01:00
usertools usertools: fix typo in SPDX tag of telemetry script 2019-11-28 03:12:55 +01:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore doc: add vDPA features table 2020-01-14 00:09:33 +01:00
.travis.yml devtools: add ABI checks 2020-02-05 15:14:46 +01:00
ABI_VERSION build: fix soname info for 19.11 compatibility 2019-12-19 16:18:21 +01:00
GNUmakefile test: move to app directory 2019-02-26 15:29:27 +01:00
MAINTAINERS build: allow using wildcards to disable drivers 2020-02-06 09:17:24 +01:00
Makefile remove blank lines at end of file 2019-11-26 00:12:08 +01:00
meson_options.txt net/mlx: add static ibverbs linkage with meson 2020-02-14 12:42:13 +01:00
meson.build build: fix Windows build 2019-11-25 15:07:02 +01:00
README license: introduce SPDX identifiers 2018-01-04 22:41:38 +01:00
VERSION version: 20.02-rc2 2020-02-06 19:53:24 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD-3-Clause license for the core libraries
and drivers. The kernel components are GPL-2.0 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org