[dpdk-dev] [PATCH v1] build: ccache support for cross build

Jerin Jacob jerinjacobk at gmail.com
Thu Jun 2 11:43:46 CEST 2022


On Thu, Jun 2, 2022 at 3:11 PM Bruce Richardson
<bruce.richardson at intel.com> wrote:
>
> On Thu, Jun 02, 2022 at 02:53:55PM +0530, jerinj at marvell.com wrote:
> > From: Jerin Jacob <jerinj at marvell.com>
> >
> > 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 <jerinj at marvell.com>
>
> Does this still work even if ccache is not available? That's not fully

Yes.

> 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?

I have removed ccache from the build machine still it works.

>
> /Bruce
>


More information about the dev mailing list