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: Jim Harris <james.r.harris@intel.com>
Change-Id: Ib023bd5ee30a7ebcf7da0bb4b3f8dc54f5713710
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/5206
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ziye Yang <ziye.yang@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
This commit is contained in:
Jim Harris 2020-11-23 23:04:47 +00:00 committed by Tomasz Zawadzki
parent 403526021e
commit c3f1aa0560

View File

@ -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