binutils snapshot builds
Jose E. Marchesi
jose.marchesi@oracle.com
Fri May 24 09:58:56 GMT 2024
> Hi Jose,
>
> On Thu, May 23, 2024 at 05:11:40PM +0200, Jose E. Marchesi wrote:
>> I see that the name of the snapshot tarball for a version
>>
>> m4_define([BFD_VERSION], [2.42.50-fc12b44ec0e])
>>
>> is
>>
>> binutils-2.42.50.tar.gz
>>
>> What about having:
>>
>> binutils-2.42.50-fc12b44ec0e.tar.gz
>>
>> This would allow for example to easily cache already downloaded
>> snapshots on the client side.
>
> Yeah, that is what we do for glibc. I assume it should then also
> unpack in a binutils-2.42.50-fc12b44ec0e directory?
Yep.
>> Also, would it be possible to have a file README (or LATEST or MANIFEST
>> or whatever) in the directory with a single line containing the name of
>> the tarball? This would ease automation.
>
> Maybe that is a valid usecase for the md512.sum file?
> Or does it have to be just the filename or a symlink to it.
>
> Do you already have some automation for something similar?
Any file from which it is easy to extract the name of the latest
snapshot would do.
For GCC snapshots I have this:
GCC_TARBALL=`wget https://gcc.gnu.org/pub/gcc/snapshots/LATEST-15 -O - -o /dev/null | grep -E 'gcc-15-[0-9]+.tar.xz' | sed -e 's/.*\(gcc-15-[^<]*\).*/\1/'`
More information about the Binutils
mailing list