DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] devtools: skip ABI check in static builds
@ 2020-04-21  1:33 Thomas Monjalon
  2020-04-21  6:11 ` Ray Kinsella
  2020-04-21  8:02 ` David Marchand
  0 siblings, 2 replies; 5+ messages in thread
From: Thomas Monjalon @ 2020-04-21  1:33 UTC (permalink / raw)
  To: dev; +Cc: david.marchand, mdr

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 <thomas@monjalon.net>
---
 devtools/test-build.sh | 1 +
 1 file changed, 1 insertion(+)

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-04-21  9:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21  1:33 [dpdk-dev] [PATCH] devtools: skip ABI check in static builds Thomas Monjalon
2020-04-21  6:11 ` Ray Kinsella
2020-04-21  9:15   ` Thomas Monjalon
2020-04-21  8:02 ` David Marchand
2020-04-21  9:20   ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).