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 88DFEA0598; Tue, 21 Apr 2020 12:33:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F3E961D8CC; Tue, 21 Apr 2020 12:33:43 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 3F1DD1D5FF for ; Tue, 21 Apr 2020 12:33:42 +0200 (CEST) IronPort-SDR: V7eNYp3eoNJ5pAHzjBqzsULeXOorQbiD5FthOfwinX8H8iOL22SVhPFxj/92LvNZyQiLCXNnRN edWa0QXC8lNA== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Apr 2020 03:33:38 -0700 IronPort-SDR: 67j1HZQXeMmsqTQ1tT40zKfhqHDDFCUmimg3Jfbp2+lUpx9G5BlfD4Acau87xpbQsSRt1LMm01 BZt3zCDhViog== X-IronPort-AV: E=Sophos;i="5.72,410,1580803200"; d="scan'208";a="429485981" Received: from bricha3-mobl.ger.corp.intel.com ([10.249.45.44]) by orsmga005-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 21 Apr 2020 03:33:37 -0700 Date: Tue, 21 Apr 2020 11:33:33 +0100 From: Bruce Richardson To: David Marchand Cc: Thomas Monjalon , dev Message-ID: <20200421103333.GB1729@bricha3-MOBL.ger.corp.intel.com> References: <20200421020455.505176-1-thomas@monjalon.net> <5494056.MhkbZ0Pkbq@thomas> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [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" On Tue, Apr 21, 2020 at 11:26:58AM +0200, David Marchand wrote: > On Tue, Apr 21, 2020 at 11:22 AM Thomas Monjalon wrote: > > > > 21/04/2020 09:49, David Marchand: > > > On Tue, Apr 21, 2020 at 4:05 AM Thomas Monjalon wrote: > > > > + rm $abirefdir/$targetdir/usr/local/lib/*.a > > > > > > The install directory for libraries is not lib/ in all cases. > > > This breaks the ABI generation for gcc-shared: > > > > > > DESTDIR=/home/dmarchan/abi/v20.02/build-gcc-shared ninja -C > > > /home/dmarchan/abi/v20.02/build install >/dev/null > > > rm: cannot remove > > > '/home/dmarchan/abi/v20.02/build-gcc-shared/usr/local/lib/*.a': No > > > such file or directory > > > > > > $ ls ~/abi/v20.02/build-gcc-shared/usr/local/ > > > bin include lib64 share > > > > Is it enough to change lib to lib* ? > > I can see only lib/ or lib64/ so ok for me. > If it's using lib, then the .a files could be in /lib/x86_64-linux-gnu/, rather than in lib directly. Therefore I think it's better to use find or similar to remove the .a files from /usr/local/: find /usr/local -name 'librte*.a' -exec rm -f {}