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 7B1ECA0561; Tue, 21 Apr 2020 04:05:23 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 087FD1D67B; Tue, 21 Apr 2020 04:05:22 +0200 (CEST) Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 9690F1D678 for ; Tue, 21 Apr 2020 04:05:20 +0200 (CEST) Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 3DD5F5C01B6; Mon, 20 Apr 2020 22:05:20 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Mon, 20 Apr 2020 22:05:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm1; bh=TvexeBWWM7EVgCKc0EfS2LSFyv eildJI3IuHqtaXYrI=; b=gikU7neosNFv250/3ymcGfNbJ4W1kUuF4+JxDsjlq8 Q+WAJ5a1djfTUA///j7eMEJgNIYAoE/dnZ2DV45emoYS1oLsW9ABTJjyCYJWcRYX K7qrIu/eKF5i1Wg9HD4n+C+ZMLH7SrArRV02jaXjumKjLNMSnpTlewBlbJ9Vh0F6 q39XDkp02tPqBQ7JD9N8zncomTXXrpGFUXaxDNYDDi7R9b2mbmpIbQZbFbUNj400 T3gVHLsLo1AnowhXli5jhLioMCnIxGo409SJsuQy6yECZYCz8xLR4C5nay1pzjcw vBz/P7viY3QBo1x5x0XpmYzLCT0O7RQWKuzu3gRT749Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=TvexeBWWM7EVgCKc0 EfS2LSFyveildJI3IuHqtaXYrI=; b=spodSO8FJQmTMz8MoVXyUxCvf8uw8MVcf tWGBOqhL4iAM2/wN7mtJTNkftU1mG7WhS1aDWfAbcPM8S+eeuh3yRwj3q+KLx/UI xa6uKWb52IPv+L6bNOBokM/XGsp5U/Ak4+NMWr1BAZFhPQkl+P4xqthadNUI5AdX jUZ7+S2F+ExHD0rP5exf+MdhKSuS3NfWBWzqeehMRmvNTljSYPLj7QCtjRgTnCfH CUceqLIXD9qdUBkWiLszMU5omwstOeuPqRVwj4gqdE3XTWDeV56Gtnk9Rxz2LvRx 8LNMCu9EFiQ3EELW7PNYIAY3Jw+BFBntbfJ7+heNuZgndCf6A5Wag== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrgeeggdehudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhn jhgrlhhonhdrnhgvtheqnecukfhppeejjedrudefgedrvddtfedrudekgeenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhho nhhjrghlohhnrdhnvght X-ME-Proxy: Received: from xps.monjalon.net (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 3E8E63065C56; Mon, 20 Apr 2020 22:05:19 -0400 (EDT) From: Thomas Monjalon To: dev@dpdk.org Cc: bruce.richardson@intel.com, david.marchand@redhat.com Date: Tue, 21 Apr 2020 04:04:55 +0200 Message-Id: <20200421020455.505176-1-thomas@monjalon.net> X-Mailer: git-send-email 2.26.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH] devtools: remove useless files from ABI reference 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" When building an ABI reference with meson, some static libraries are built and linked in apps. They are useless and take a lot of space. Those binaries, and other useless files (examples and doc files) in the share/ directory, are removed after being installed. In order to save time when building the ABI reference, the examples (which are not installed anyway) are not compiled. Signed-off-by: Thomas Monjalon --- devtools/test-meson-builds.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index e8df017596..16271e057d 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -141,10 +141,15 @@ build () # fi rm -rf $abirefdir/build - config $abirefdir/src $abirefdir/build $* + config $abirefdir/src $abirefdir/build -Dexamples= $* compile $abirefdir/build install_target $abirefdir/build $abirefdir/$targetdir $srcdir/devtools/gen-abi.sh $abirefdir/$targetdir + + # save disk space by removing static libs and apps + rm $abirefdir/$targetdir/usr/local/lib/*.a + rm -rf $abirefdir/$targetdir/usr/local/bin + rm -rf $abirefdir/$targetdir/usr/local/share fi install_target $builds_dir/$targetdir \ -- 2.26.0