Re: [gentoo-dev] Subject: [PATCH] toolchain.eclass: ada related changes

2024-04-25 Thread Sam James
Alfredo Tupone writes: > Having received no comments, I would like to add this changes to > toolchain.eclass > > This is less intrusive. > > The compiler check that was in place in the original email maybe is > distruptive. It was checking that the used compiler is ada and version > is less or eq

Re: [gentoo-dev] Subject: [PATCH] toolchain.eclass: ada related changes

2024-04-25 Thread Alfredo Tupone
Having received no comments, I would like to add this changes to toolchain.eclass This is less intrusive. The compiler check that was in place in the original email maybe is distruptive. It was checking that the used compiler is ada and version is less or equal. I saw that some gcc versions can

Re: [gentoo-dev] Subject: [PATCH] toolchain.eclass: ada related changes

2024-03-25 Thread Alfredo Tupone
I think the following should deserve attention: + prevAdaSLOT=$(gnatmake -v 2>&1 | sed -n '2 p' | sed 's:^[^0-9]*\([0-9]\+\).*:\1:' | sed 's:2021:10:' ) maybe there is a way to not use sed at all, or at least to not call it three times + die 'Ada cannot be built with a newer compiler' Is this