From: Thomas Monjalon Date: Tue, 21 Apr 2020 00:40:44 +0000 (+0200) Subject: devtools: skip ABI check in static builds X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=4a4e0622eb971b008bf1f47fc951a757fd4d6669;p=dpdk.git devtools: skip ABI check in static builds When running make with CONFIG_RTE_BUILD_SHARED_LIB=n, no shared library is built. In this case, no need to run ABI check. With meson, both shared and static libraries are always built. Signed-off-by: Thomas Monjalon Reviewed-by: Ray Kinsella Acked-by: David Marchand --- diff --git a/devtools/test-build.sh b/devtools/test-build.sh index a298115002..6e53f86fc8 100755 --- a/devtools/test-build.sh +++ b/devtools/test-build.sh @@ -262,6 +262,7 @@ for conf in $configs ; do EXTRA_LDFLAGS="$DPDK_DEP_LDFLAGS" $verbose \ O=$(readlink -f $dir)/examples unset RTE_TARGET + grep -q 'SHARED_LIB=n' $dir/.config || # skip ABI check with static libs if [ -n "$DPDK_ABI_REF_VERSION" ]; then abirefdir=${DPDK_ABI_REF_DIR:-reference}/$DPDK_ABI_REF_VERSION if [ ! -d $abirefdir/$conf ]; then