From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6FD40A0548; Thu, 2 Jun 2022 11:41:22 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 588A640691; Thu, 2 Jun 2022 11:41:22 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id B076F4021E for ; Thu, 2 Jun 2022 11:41:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654162880; x=1685698880; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=5H6H7fl595r4geUlZk65Rv2Mx/iXy/oC8b1r3ON/etk=; b=ejZoUATm5AnuGxcFdyIVPEplJ1JenMJiUG++u5HeNUB17MUGFAjr+J0L babJgnGh9KeyzUH5ZxCDMPfNcJLe9Ts+p9UNhoUlTTjVR81SZCEdMmBTC Pd87atyG8VZ8Snn9jLCwZmAsnudPGcGoqBntH8L/RZTe7SrexI0mC4f/x 3bREBvtU5Dpq42kolyQIYIljV0cD/39jZO8OnUu3/QW4qdUxWMw1KiTro wSzMmMeES8DxDOKd+Jz6tGMI9vZxJPiD75441aHx410xmgxjFhkS4XaPp EPjduUd22/kzja0jWLLVagtRpIniR2eCmu54Nkkr3IScPTVKaucUcJvNK g==; X-IronPort-AV: E=McAfee;i="6400,9594,10365"; a="275622349" X-IronPort-AV: E=Sophos;i="5.91,270,1647327600"; d="scan'208";a="275622349" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jun 2022 02:41:19 -0700 X-IronPort-AV: E=Sophos;i="5.91,270,1647327600"; d="scan'208";a="563231754" Received: from bricha3-mobl.ger.corp.intel.com ([10.55.133.25]) by orsmga002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-SHA; 02 Jun 2022 02:41:17 -0700 Date: Thu, 2 Jun 2022 10:41:13 +0100 From: Bruce Richardson To: jerinj@marvell.com Cc: dev@dpdk.org, Ruifeng Wang , Jan Viktorin , David Christensen , Konstantin Ananyev , thomas@monjalon.net, david.marchand@redhat.com, juraj.linkes@pantheon.tech, fengchengwen@huawei.com Subject: Re: [dpdk-dev] [PATCH v1] build: ccache support for cross build Message-ID: References: <20220602092356.2788089-1-jerinj@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220602092356.2788089-1-jerinj@marvell.com> X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Thu, Jun 02, 2022 at 02:53:55PM +0530, jerinj@marvell.com wrote: > From: Jerin Jacob > > By default, ccache is not used for cross build[1]. > Update all cross files to use ccache if it is available > in build machine. > > [1] > https://mesonbuild.com/Machine-files.html > > Signed-off-by: Jerin Jacob Does this still work even if ccache is not available? That's not fully clear from the docs, but it seems to be that if an array is passed the whole array is used as the command, rather than just one element of the array. That would imply that cross-builds now require ccache. Is that acceptable? /Bruce