On Tue, 12 Apr 2022, Navid Rahimi via Gcc-patches wrote: > Hi GCC community, > > I need to have ability to point to custom repository in gcc_release > script. This small patch 1) does add a parameter "-g" to add custom
The purpose of this script is for building official GCC releases, release candidates and snapshots for the GCC project; not anything else (although it may sometimes be useful to have functionality that's only relevant for testing changes to the script rather than as part of actual release, release candidate or snapshot builds). Why would a custom repository be relevant for such releases, release candidates or snapshots built for the GCC project? In general, *everything* in the maintainer-scripts/ directory only needs to work for the specific limited purposes for which it's run by the gccadmin account on gcc.gnu.org; unlike contrib/, it's not expected or intended to be more generally useful. > repository to gcc_release , 2) does add a line to download prerequisites > before building GCC (download_prerequisites) which is not present in > gcc_release right now. Official GCC releases, release candidates and snapshots are not meant to include those prerequisities in the source directory, so calling that script (which puts them there) seems incorrect to me; the script is for users to call after downloading such a release, release candidate or snapshot, if they don't have the prerequisites built or installed in some other way. -- Joseph S. Myers jos...@codesourcery.com