diff mbox series

[v3,4/7] build: add meson option for abi related checks

Message ID 20191129210905.1865-5-kevin.laatz@intel.com (mailing list archive)
State Superseded, archived
Delegated to: David Marchand
Headers show
Series Add ABI compatibility checks to the meson build | expand


Context Check Description
ci/Intel-compilation fail Compilation issues
ci/checkpatch success coding style OK

Commit Message

Kevin Laatz Nov. 29, 2019, 9:09 p.m. UTC
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@intel.com>
 meson_options.txt | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series


diff --git a/meson_options.txt b/meson_options.txt
index bc369d06c..5f42def1d 100644
--- a/meson_options.txt
+++ b/meson_options.txt
@@ -1,5 +1,7 @@ 
 # Please keep these options sorted alphabetically.
+option('compat_checks', type: 'boolean', value: true,
+	description: 'enable abi compatibility checks and experimental syms checks to run during the build')
 option('disable_drivers', type: 'string', value: '',
 	description: 'Comma-separated list of drivers to explicitly disable.')
 option('drivers_install_subdir', type: 'string', value: 'dpdk/pmds-<VERSION>',