[dpdk-dev] [RFC 4/6] build: add meson option for abi related checks

Kevin Laatz kevin.laatz at intel.com
Wed Oct 23 03:07:52 CEST 2019


This patch adds a new meson option for running ABI compatibility checks
during the build. If enabled, the lib and drivers .so files will be
compared against any existing ABI dump files in lib|drivers/abi of the
source directory. If there are any incompatibilities, the build will fail
and display the incompatibility.

Signed-off-by: Kevin Laatz <kevin.laatz at intel.com>
---
 meson_options.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meson_options.txt b/meson_options.txt
index 000e38fd9..aefab391a 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,5 +1,7 @@
 # Please keep these options sorted alphabetically.
 
+option('abi_compat_checks', type: 'boolean', value: true,
+	description: 'enable abi compatibility checks to run during the build')
 option('allow_invalid_socket_id', type: 'boolean', value: false,
 	description: 'allow out-of-range NUMA socket id\'s for platforms that don\'t report the value correctly')
 option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>',
-- 
2.17.1



More information about the dev mailing list