[PATCH v1] config/arm: correct cpu arch for cross build
Joyce Kong
Joyce.Kong at arm.com
Wed Oct 18 07:40:23 CEST 2023
> -----Original Message-----
> From: Thomas Monjalon <thomas at monjalon.net>
> Sent: Wednesday, October 18, 2023 3:42 AM
> To: Joyce Kong <Joyce.Kong at arm.com>
> Cc: Ruifeng Wang <Ruifeng.Wang at arm.com>; Bruce Richardson
> <bruce.richardson at intel.com>; dev at dpdk.org; nd <nd at arm.com>
> Subject: Re: [PATCH v1] config/arm: correct cpu arch for cross build
>
> 22/08/2023 09:47, Joyce Kong:
> > The cn10k cross build file sets cpu to 'armv8.6-a' while
> > N2 is armv8.5-a arch.
> > The cpu field in the cross file doesn't take effect as
> > config/arm/meson.build controls machine_args for march.
> > Then correct the value in arm cross files to 'auto'.
>
> I don't get it.
> Why setting a value if it has no impact?
> Looks like something is overcomplicated.
>
We still have to declare them here because meson would check the 'cpu' line in the config file, otherwise it would report missing {'cpu'}.
More information about the dev
mailing list