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 A0E03A0559; Mon, 16 Mar 2020 18:52:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 890D81C0CE; Mon, 16 Mar 2020 18:52:57 +0100 (CET) Received: from us-smtp-delivery-74.mimecast.com (us-smtp-delivery-74.mimecast.com [216.205.24.74]) by dpdk.org (Postfix) with ESMTP id B3C8E1C0C1 for ; Mon, 16 Mar 2020 18:52:56 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1584381176; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=K+OQcPwvK8lYqZTtya6EvPs6y1Co1aATvKvoP+zVKcE=; b=BxwcJTZseSDKJctdZ+XlcscbRCEb/zNkqteS/aLhXdTk+kEw4fWCgZurEEp/e6REvOxHQ/ nHJq4I9AK4Ju+Rb7eH/p36sBJIiOD1mL1sF4mGv8LLIqd4Yg+3+rbGpEtlleR6c0s9yi9H quY4heUQG2EueI70lIabb5N9/lxBjKk= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-215-hp7FhPuHN1ipoto_WS0fQQ-1; Mon, 16 Mar 2020 13:52:52 -0400 X-MC-Unique: hp7FhPuHN1ipoto_WS0fQQ-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 99DDCA43B5D; Mon, 16 Mar 2020 17:36:44 +0000 (UTC) Received: from dhcp-25.97.bos.redhat.com (ovpn-124-179.rdu2.redhat.com [10.10.124.179]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B54437E300; Mon, 16 Mar 2020 17:36:41 +0000 (UTC) From: Aaron Conole To: Bruce Richardson Cc: dev@dpdk.org, ruifeng.wang@arm.com, thomas@monjalon.net, david.marchand@redhat.com References: <20200316170921.6020-1-bruce.richardson@intel.com> Date: Mon, 16 Mar 2020 13:36:40 -0400 In-Reply-To: <20200316170921.6020-1-bruce.richardson@intel.com> (Bruce Richardson's message of "Mon, 16 Mar 2020 17:09:21 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Subject: Re: [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" Bruce Richardson writes: > 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 > --- It looks good to me. I'll try a run with Ruifeng's no-huge series and see if I can trigger errors on my side (and then see what happens with the cache sizes, too). Might take some time as I adjust some things here. > .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" =3D "1" ]; then > export PKG_CONFIG_LIBDIR=3D"/usr/lib32/pkgconfig" > fi > =20 > +if [ "$DEF_LIB" =3D "static" ] ; then > + OPTS=3D"$OPTS -Dexamples=3Dl2fwd,l3fwd" > +else > + OPTS=3D"$OPTS -Dexamples=3Dall" > +fi > + > OPTS=3D"$OPTS --default-library=3D$DEF_LIB" > OPTS=3D"$OPTS --buildtype=3Ddebugoptimized" > -meson build --werror -Dexamples=3Dall $OPTS > +meson build --werror $OPTS > ninja -C build > =20 > if [ "$AARCH64" !=3D "1" ]; then