Commit c3f1aa05 authored by Jim Harris's avatar Jim Harris Committed by Tomasz Zawadzki
Browse files

build: suppress SPDK_BDEV_NUM_IO_TYPES errors from abidiff



New IO types are just ignored by existing modules, but when
added it changes the value of SPDK_BDEV_NUM_IO_TYPES which
then throws an abidiff error in our build.

So just suppress changes to this specific value so that
adding new IO types doesn't itself result in an SO version
bump.

Thanks Alexey Marchuk for pointing out this abidiff
feature.

Signed-off-by: default avatarJim Harris <james.r.harris@intel.com>
Change-Id: Ib023bd5ee30a7ebcf7da0bb4b3f8dc54f5713710
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5206


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarZiye Yang <ziye.yang@intel.com>
Reviewed-by: default avatarAleksey Marchuk <alexeymar@mellanox.com>
parent 40352602
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -46,6 +46,9 @@ function confirm_abi_deps() {
	name = spdk_nvme_ctrlr_opts
[suppress_type]
	name = spdk_bs_dev
[suppress_type]
	type_kind = enum
	changed_enumerators = SPDK_BDEV_NUM_IO_TYPES
EOF

	for object in "$libdir"/libspdk_*.so; do