From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E60C5A0559; Mon, 16 Mar 2020 18:13:38 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4E6EA1C069; Mon, 16 Mar 2020 18:13:38 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 557AA1C067 for ; Mon, 16 Mar 2020 18:13:37 +0100 (CET) IronPort-SDR: PAkpxHlcUBtFBE3avEHLZlxVde8S35foSs6gmNSzbtgxb0t23P8Y0LrSWkSLc+grOcxuCW7v4J 7pAn+4tPUSHA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Mar 2020 10:13:36 -0700 IronPort-SDR: zXb0aij1g+rqgjNeMDJuxu1wv6Yvj+Cs2nl7Yx4GAkiRRcaTTlcxUetkODU9M8AISi5zUYEjjQ uLItewxvXgFw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,561,1574150400"; d="scan'208";a="355076214" Received: from silpixa00399126.ir.intel.com ([10.237.222.218]) by fmsmga001.fm.intel.com with ESMTP; 16 Mar 2020 10:13:34 -0700 From: Bruce Richardson To: dev@dpdk.org Cc: aconole@redhat.com, ruifeng.wang@arm.com, thomas@monjalon.net, david.marchand@redhat.com, Bruce Richardson Date: Mon, 16 Mar 2020 17:09:21 +0000 Message-Id: <20200316170921.6020-1-bruce.richardson@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [RFC PATCH] ci: reduce examples built for static builds X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Static builds can take a lot of space, so reduce the number of examples built when doing those static builds. Signed-off-by: Bruce Richardson --- .ci/linux-build.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index d500c4c00..2e0971dee 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -42,9 +42,15 @@ if [ "$BUILD_32BIT" = "1" ]; then export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig" fi +if [ "$DEF_LIB" = "static" ] ; then + OPTS="$OPTS -Dexamples=l2fwd,l3fwd" +else + OPTS="$OPTS -Dexamples=all" +fi + OPTS="$OPTS --default-library=$DEF_LIB" OPTS="$OPTS --buildtype=debugoptimized" -meson build --werror -Dexamples=all $OPTS +meson build --werror $OPTS ninja -C build if [ "$AARCH64" != "1" ]; then -- 2.24.1