[PATCH 1/2] ci: switch to Ubuntu 20.04

David Marchand david.marchand at redhat.com
Thu Apr 28 14:28:37 CEST 2022


On Tue, Apr 26, 2022 at 11:14 AM Ruifeng Wang <Ruifeng.Wang at arm.com> wrote:
>
> > -----Original Message-----
> > From: David Marchand <david.marchand at redhat.com>
> > Sent: Tuesday, April 26, 2022 3:18 PM
> > To: dev at dpdk.org
> > Cc: Aaron Conole <aconole at redhat.com>; Michael Santana
> > <maicolgabriel at hotmail.com>; Ruifeng Wang <Ruifeng.Wang at arm.com>;
> > Jan Viktorin <viktorin at rehivetech.com>; Bruce Richardson
> > <bruce.richardson at intel.com>; David Christensen <drc at linux.vnet.ibm.com>
> > Subject: [PATCH 1/2] ci: switch to Ubuntu 20.04
> >
> > Ubuntu 18.04 is now rather old.
> > Besides, other entities in our CI are also testing this distribution.
> >
> > Switch to a newer Ubuntu release and benefit from more recent
> > tool(chain)s: for example, net/cnxk now builds fine and can be re-enabled.
> >
> > Signed-off-by: David Marchand <david.marchand at redhat.com>
> > ---
>
> <snip>
>
> > diff --git a/config/arm/arm64_armv8_linux_clang_ubuntu2004
> > b/config/arm/arm64_armv8_linux_clang_ubuntu2004
> > new file mode 120000
> > index 0000000000..01f5b7643e
> > --- /dev/null
> > +++ b/config/arm/arm64_armv8_linux_clang_ubuntu2004
>
> How about naming it without '2004'?
> It is a link to ubuntu1804 crossfile because distribution dependent paths in the file doesn't change. And I believe the consistency will be kept across distribution releases.
> So we can use a file name without distribution release number for the latest/default Ubuntu environment.
> This removes the need for a new crossfile for each Ubuntu LTS release.

I had some concerns about renaming the 1804 file, if someone relied on it.
But on the other hand, this is only for cross compiling and I guess
people are only using this file through GHA.
If they did use this file out of GHA, it is trivial to switch to the
renamed file.

I'll do what you suggested.


-- 
David marchand



More information about the dev mailing list