This ensures that when fields are added, that the size of the structure will change, ensuring different versions of the structure can be detected using sizeof. Adding -Wno-address-of-packed-member to Makefiles here, although we should consider disabling this warning globally in SPDK just like DPDK. Suppress abidiff errors around spdk_app_opts - structure size and offsets of all existing members were unchanged, so there is no ABI breakage here. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I2249eddb604d7b44180cadb92ba30edcd946b9bd Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14091 Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot
21 lines
453 B
Makefile
21 lines
453 B
Makefile
# SPDX-License-Identifier: BSD-3-Clause
|
|
# Copyright (c) Intel Corporation.
|
|
# All rights reserved.
|
|
#
|
|
|
|
SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
|
|
|
|
SO_VER := 11
|
|
SO_MINOR := 0
|
|
|
|
CFLAGS += $(ENV_CFLAGS) -Wno-address-of-packed-member
|
|
|
|
LIBNAME = event
|
|
C_SRCS = app.c reactor.c log_rpc.c \
|
|
app_rpc.c scheduler_static.c
|
|
|
|
SPDK_MAP_FILE = $(abspath $(CURDIR)/spdk_event.map)
|
|
|
|
include $(SPDK_ROOT_DIR)/mk/spdk.lib.mk
|