aboutsummaryrefslogtreecommitdiff
path: root/maintainer-scripts/gcc_release
AgeCommit message (Collapse)AuthorFilesLines
2025-04-25Adjust gcc_release for id href web transformationsJakub Jelinek1-1/+1
We now have some script which transforms e.g. <h2 id="15.1">GCC 15.1</h2> line in gcc-15/changes.html to <h2 id="15.1"><a href="#15.1">GCC 15.1</a></h2> This unfortunately breaks the gcc_release script, which looks for GCC 15.1 appearing in gennews after optional blanks from the start of the line in the NEWS file, which is no longer the case, there is [129]GCC 15.1 or something like that with an URL later on 129. https://gcc.gnu.org/gcc-15/changes.html#15.1 The following patch handles this. 2025-04-25 Jakub Jelinek <jakub@redhat.com> * gcc_release: Allow optional \[[0-9]+\] before GCC major.minor in the NEWS file.
2025-03-31gcc_release: Generate srcdir extras/infos/man pages from all FEs [PR119510]Jakub Jelinek1-1/+19
Enabling cobol explicitly (at least unconditionally) in gcc_release has the disadvantage that the script no longer works for GCC <= 14, I think it would be better to keep it working for all still supported release branches. And as mentioned in the PR, we still don't generate the --enable-generated-files-in-srcdir extras/infos/man pages for languages not actually enabled. Using --enable-languages=all would mean gcc_release takes far longer and more importantly, various FEs have extra dependencies, Ada requires a working Ada compiler (furthermore not newer than the gcc release, so if I run this on a system with say GCC 15 installed, even when I have Ada installed, I won't be able to gcc_release GCC 14 or 13 etc.), D working D compiler, Go takes a long time to build libgo. So, the following patch instead takes similar approach to what make regenerate-opt-urls takes, it generates stuff even for non-enabled languages. For most languages it works just fine and is a matter of say for cobol make cobol.srcextra cobol.srcinfo cobol.srcman The only problem is Modula 2, which has some messed up dependencies and when the FE is not enabled, this will try to build the whole FE as well and fail. I think it would be useful to fix that but at least before that is fixed on the trunk and all release branches, the following patch just conditionally (so that it works even for GCC 12 which doesn't have Modula 2) enables also m2. And lastly, libffi seems to be only enabled for Go (and maybe D), I'd prefer not to enable those languages for the reasons stated above, so if we really need libffi.info in release tarballs (despite libffi being used only as implementation detail and not installed), the patch just generates it by hand. 2025-03-29 Jakub Jelinek <jakub@redhat.com> PR other/119510 * gcc_release: Use --enable-languages=c,c++,lto and if m2 is available, with,m2 appended to that. Check for all possible languages and run make $lang.srcextra $lang.srcinfo $lang.srcman for those. Add libffi/doc/libffi.info.
2025-03-28other/119510 - use --enable-languages=default,cobol for release tarballsRichard Biener1-1/+1
The following adds cobol to the set of languages built during release tarball building so the bison and flex generated sources for cobol are included in the tarball. PR other/119510 maintainer-scripts/ * gcc_release: Use --enable-languages=default,cobol when building generated files.
2023-11-14maintainer-scripts/gcc_release: cleanup whitespaceSam James1-8/+8
maintainer-scripts/ * gcc_release: Cleanup whitespace. Signed-off-by: Sam James <sam@gentoo.org>
2023-11-14maintainer-scripts/gcc_release: use HTTPS for linksSam James1-3/+3
maintainer-scripts/ * gcc_release: Use HTTPS for links. Signed-off-by: Sam James <sam@gentoo.org>
2022-11-23maintainer-scripts/gcc_release: compress xz in parallelSam James1-1/+1
1. This should speed up decompression for folks, as parallel xz creates a different archive which can be decompressed in parallel. Note that this different method is enabled by default in a new xz release coming shortly anyway (>= 5.3.3_alpha1). I build GCC regularly from the weekly snapshots and so the decompression time adds up. 2. It should speed up compression on the webserver a bit. Note that -T0 won't be the default in the new xz release, only the parallel compression mode (which enables parallel decompression). -T0 detects the number of cores available. So, if a different number of threads is preferred, it's fine to set e.g. -T2, etc. Signed-off-by: Sam James <sam@gentoo.org> * gcc_release (XZ): Add -T0.
2020-03-12maintainer-scripts: Fix up gcc_release without -l, where mkdir was using ↵Jakub Jelinek1-1/+1
umask 077 after migration 2020-03-12 Jakub Jelinek <jakub@redhat.com> * gcc_release (upload_files): Without -l, pass -m 755 to the mkdir command invoked through ssh.
2020-02-27maintainer-scripts: Speed up git clone in gcc_releaseJakub Jelinek1-4/+15
When doing the 8.4-rc1, I've noticed (probably also because of the dying disk on sourceware) that git clone is extremely slow, and furthermore when all of us have some local snapshots, it is a waste of resources to download everything again. Especially for the -f runs when we'll need to wait until git tag -s asks us for a gpg password interactively. The following patch adds an option through which one can point the script at a local gcc .git directory from which it can --dissociate --reference ... during cloning to speed it up. 2020-02-27 Jakub Jelinek <jakub@redhat.com> * gcc_release: Add support for -b local-git-repo argument.
2020-01-13Update gcc_release for move to git.Joseph Myers1-49/+58
This patch updates the gcc_release script, used for snapshots and releases, to use git instead of SVN. The parts of the changes used in building snapshots have been tested. The parts used for building releases have not, so it's likely further fixes may turn out to be needed there when releases are first built from git. * gcc_release: Use git instead of SVN. * crontab: Update gcc_release calls.
2019-11-20Switch gcc ftp URL's to httpsJanne Blomqvist1-1/+1
The FTP protocol is getting long in the tooth, and we should emphasize HTTPS where that is available. This patch changes various gcc.gnu.org URL's to instead use HTTPS. For instance, kernel.org shut down FTP access in 2017, with the explanation: - The protocol is inefficient and requires adding awkward kludges to firewalls and load-balancing daemons - FTP servers have no support for caching or accelerators, which has significant performance impacts - Most software implementations have stagnated and see infrequent updates ChangeLog: 2019-11-20 Janne Blomqvist <jb@gcc.gnu.org> * configure.ac: Use https for gcc.gnu.org. * configure: Regenerated. gcc/ChangeLog: 2019-11-20 Janne Blomqvist <jb@gcc.gnu.org> * configure.ac: Use https for gcc.gnu.org. * configure: Regenerated. * doc/install.texi: Use https for gcc.gnu.org. * doc/sourcebuild.texi: Likewise. gcc/testsuite/ChangeLog: 2019-11-20 Janne Blomqvist <jb@gcc.gnu.org> * README: Use https for gcc.gnu.org. libstdc++-v3/ChangeLog: 2019-11-20 Janne Blomqvist <jb@gcc.gnu.org> * doc/html/api.html: Use https for gcc.gnu.org. * doc/xml/api.xml: Likewise. maintainer-scripts/ChangeLog: 2019-11-20 Janne Blomqvist <jb@gcc.gnu.org> * gcc_release: Use https for gcc.gnu.org. From-SVN: r278526
2018-10-26gcc_release (error, inform): Use $@ instead of $1.Jakub Jelinek1-6/+6
* gcc_release (error, inform): Use $@ instead of $1. (build_sources): Check for ^[[:blank:]]*GCC in both index.html and changes.html, rather than for GCC in one and ^GCC in another one. From-SVN: r265526
2018-05-03re PR other/85622 (gcc-8.1.0/NEWS says it's not released yet)Jakub Jelinek1-1/+31
PR other/85622 * gcc_release: For -f, verify contrib/gennews has the major version pages listed and both index.html and changes.html have been updated for the new release. From-SVN: r259881
2018-01-25gcc_release (build_sources): Use getconf to get at the number of cores in ↵Richard Biener1-1/+9
the system and pass -jN to gcc_build. 2018-01-25 Richard Biener <rguenther@suse.de> * gcc_release (build_sources): Use getconf to get at the number of cores in the system and pass -jN to gcc_build. From-SVN: r257045
2017-05-23gcc_release (XZ): Default to xz --best.Matthias Klose1-1/+1
2017-05-23 Matthias Klose <doko@ubuntu.com> * gcc_release (XZ): Default to xz --best. From-SVN: r248392
2017-05-18gcc_release (build_gzip): Build xz tarball instead of bz2 tarball.Matthias Klose1-16/+34
2017-05-18 Matthias Klose <doko@ubuntu.com> * gcc_release (build_gzip): Build xz tarball instead of bz2 tarball. (build_diffs): Handle building diffs from either bz2 or xz tarballs, compress diffs using xz instead of bz2. (build_diff): Likewise. (upload_files): Check for *.xz files instead of *.bz2 files. (announce_snapshot): Announce xz tarball instead of bz2 tarball. (XZ): New definition. (<toplevel>): Look for both bz2 and xz compressed old tarballs. From-SVN: r248251
2017-03-03* gcc_release (snapshot_print): Replace md5 checksum by sha256.Gerald Pfeifer1-1/+1
From-SVN: r245875
2015-04-13gcc_release: Fix up thinko in the last commit, improve error message.Jakub Jelinek1-14/+18
* gcc_release: Fix up thinko in the last commit, improve error message. Commit all ChangeLog, DEV-PHASE and BASE-VER changes together, rather than doing dozens of separate commits. From-SVN: r222042
2015-04-12gcc_release: For RELEASE_MAJOR 5+ only use the major number in branch name.Jakub Jelinek1-4/+20
* gcc_release: For RELEASE_MAJOR 5+ only use the major number in branch name. When doing final release of 5+, if BASE-VER doesn't match release, but is *.*.1 for the one smaller minor version, bump BASE-VER. From-SVN: r222031
2014-02-01re PR other/56653 (Warning when verifying checksums from MD5SUMS file in ↵Dmitry Gorbachev1-2/+2
tarballs) PR other/56653 * gcc_release: Avoid printing empty line to generated MD5SUMS files. Bump copyright year. From-SVN: r207387
2011-05-22gcc_release (adjust_dirs, [...]): Remove.Joseph Myers1-72/+3
* gcc_release (adjust_dirs, maybe_build_tarfile): Remove. (build_tarfiles): Don't build separate files for languages and core. (build_diffs): Only build one set of diffs. (announce_snapshot): Only announce one tar file. (ADA_DIRS, CPLUSPLUS_DIRS, FORTRAN95_DIRS, GO_DIRS, JAVA_DIRS, OBJECTIVEC_DIRS, TESTSUITE_DIRS): Remove. Don't adjust names relative to WORKING_DIRECTORY. From-SVN: r174028
2011-04-21gcc_release (maybe_build_tarfile): Don't build a tarfile if the first ↵Jakub Jelinek1-7/+1
directory doesn't exist. * gcc_release (maybe_build_tarfile): Don't build a tarfile if the first directory doesn't exist. From-SVN: r172827
2010-12-08gcc_release: Add support for releasing Go as a separate tarball.Ian Lance Taylor1-2/+6
* gcc_release: Add support for releasing Go as a separate tarball. From-SVN: r167616
2010-08-23gcc_release (snapshot_print): Also include an sha1 hash for every tarball.Gerald Pfeifer1-2/+4
* gcc_release (snapshot_print): Also include an sha1 hash for every tarball. Slightly tweak indentation. From-SVN: r163487
2010-08-14* gcc_release (CVSROOT): Remove all occurrences.Gerald Pfeifer1-3/+0
From-SVN: r163253
2010-08-14gcc_release (snapshot_print): Include md5 hash for every tarball in the ↵Gerald Pfeifer1-1/+4
README file and notification mail. * gcc_release (snapshot_print): Include md5 hash for every tarball in the README file and notification mail. From-SVN: r163251
2010-03-31gcc_release (build_tarfiles): Make directories mode 755, not 777.Joseph Myers1-3/+3
* gcc_release (build_tarfiles): Make directories mode 755, not 777. From-SVN: r157874
2009-10-03Merge lto branch into trunk.Diego Novillo1-1/+1
From-SVN: r152434
2009-04-09Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.Jakub Jelinek1-5/+4
From-SVN: r145841
2009-01-17gcc_release (JAVA_DIRS): Remove fastjar.Richard Guenther1-1/+1
2009-01-17 Richard Guenther <rguenther@suse.de> * gcc_release (JAVA_DIRS): Remove fastjar. From-SVN: r143465
2008-10-04* gcc_release: Fix a couple of comments.Gerald Pfeifer1-7/+7
From-SVN: r140867
2008-07-04crontab: Remove 4.1 snapshots job.Joseph Myers1-25/+10
* crontab: Remove 4.1 snapshots job. * update_version: Remove. * gcc_release: Remove support for g77 and release status in version.c. * update_version_svn: Ignore 4.1 branch. Remove support for updating files other than DATESTAMP. * update_web_docs_svn: Remove support for g77 manual. From-SVN: r137462
2008-01-28gcc_release (build_sources): Pass --disable-multilib to gcc_build.Joseph Myers1-2/+2
* gcc_release (build_sources): Pass --disable-multilib to gcc_build. (SVN): Don't use full path. From-SVN: r131908
2007-10-01gcc_release: Do not include copies of faq.html in releases...Gerald Pfeifer1-20/+0
* gcc_release: Do not include copies of faq.html in releases, and remove all the explicit support code to pull in web pages. From-SVN: r128901
2007-08-21configure.ac: Add --with-pkgversion and --with-bugurl.Paul Brook1-1/+1
gcc: 2007-08-21 Paul Brook <paul@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * configure.ac: Add --with-pkgversion and --with-bugurl. * configure: Regenerate. * doc/install.texi: Document them. * version.c (version_string): Remove VERSUFFIX. (VERSUFFIX): Remove. (pkgversion_string): New. (bug_report_url): Do not hard-code initializer. * version.h (pkgversion_string): Declare. * Makefile.in (PKGVERSION_s, BUGURL_s, PKGVERSION, BUGURL_TEXI): Define. (version.o): Define PKGVERSION and BUGURL. (gcc-vers.texi): Define VERSION_PACKAGE and BUGURL. (%.pod): Define BUGURL. * gcc.c (process_command, main): Use pkgversion_string. * toplev.c (compile_file, print_version): Likewise. * protoize.c (main): Likewise. * gcov.c (print_version): Likewise. Update copyright date. * gcov-dump.c (print_version): Likewise. Update copyright date. * mips-tdump.c (main): Likewise. Update copyright date. * mips-tfile.c (main): Likewise. Update copyright date. * doc/include/gcc-common.texi: Include VERSION_PACKAGE as subtitle. * doc/bugreport.texi: Use BUGURL for bug-reporting instructions; shorten description. * doc/gcc.texi: Include VERSION_PACKAGE in version description. * doc/gccint.texi: Likewise. * doc/invoke.texi: Use BUGURL for bug-reporting instructions. Update copyright date. gcc/fortran: 2007-08-21 Paul Brook <paul@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * gfortranspec.c (lang_specific_driver): Use pkgversion_string. * Make-lang.in (gfortran.pod): Define BUGURL. * invoke.texi: Use BUGURL for bug-reporting instructions. gcc/java: 2007-08-21 Paul Brook <paul@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * jcf-dump.c (version): Use pkgversion_string. Update copyright date. gcc/treelang: 2007-08-21 Paul Brook <paul@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * tree1.c (treelang_handle_option): Use pkgversion_string. * treelang.texi (which-treelang): Define to use VERSION_PACKAGE. maintainer-scripts: 2007-08-21 Paul Brook <paul@codesourcery.com> Nathan Sidwell <nathan@codesourcery.com> Mark Mitchell <mark@codesourcery.com> Joseph Myers <joseph@codesourcery.com> * gcc_release: Do not include copies of bugs.html in releases. * update_web_docs_svn: Set VERSION_PACKAGE and BUGURL in gcc-vers.texi. Co-Authored-By: Joseph Myers <joseph@codesourcery.com> Co-Authored-By: Mark Mitchell <mark@codesourcery.com> Co-Authored-By: Nathan Sidwell <nathan@codesourcery.com> From-SVN: r127667
2007-06-28* gcc_release: Update for Objective-C++.Mike Stump1-1/+1
From-SVN: r126084
2007-05-28* gcc_release: Adjust placement of release candidates.Mark Mitchell1-3/+3
From-SVN: r125149
2006-09-18* gcc_release (LC_ALL): Default to C.Gerald Pfeifer1-1/+4
From-SVN: r117029
2005-11-06gcc_release: Further update for SVN.Joseph Myers1-30/+13
* gcc_release: Further update for SVN. Don't set EXPORTTAG or EXPORTDATE; always determine SVNREV the same way. Correct message about what sources are being retrived. Include branch information in LAST_UPDATED. * crontab: Don't include initial / in branch name. From-SVN: r106564
2005-11-06gcc_release: Always determine revision number from date or tag...Daniel Berlin1-18/+10
2005-11-05 Daniel Berlin <dberlin@dberlin.org> * gcc_release: Always determine revision number from date or tag, and use that, instead of fragile date based export. Put back setting of non-local CVSROOT. From-SVN: r106554
2005-11-05gcc_release: Make tags go in /tags.Daniel Berlin1-9/+10
2005-11-05 Daniel Berlin <dberlin@dberlin.org> * gcc_release: Make tags go in /tags. Don't tag for snapshots. Determine revision number of export and put into snapshot announcement. From-SVN: r106531
2005-11-04first pass at updated gcc_release, should work for snapshotsDaniel Berlin1-40/+38
From-SVN: r106476
2005-10-01gcc_release (build_sources): If trying to apply a tag that already exists, ↵Mark Mitchell1-4/+11
issue an error message and exit. * gcc_release (build_sources): If trying to apply a tag that already exists, issue an error message and exit. From-SVN: r104854
2005-08-15gcc_release: Update with FSF address.Kelley Cook1-2/+2
2005-08-14 Kelley Cook <kcook@gcc.gnu.org> * gcc_release: Update with FSF address. From-SVN: r103097
2005-03-16gcc-version.m4: Delete.Zack Weinberg1-9/+19
config: * gcc-version.m4: Delete. fastjar: * Makefile.am (fastjar_TEXINFOS): Add gcc-vers.texi. (BASEVER, DEVPHASE): New variables. (POD2MAN): Adjust setting of --release option. (fastjar.1, grepjar.1, gcc-vers.texi): New rules. * Makefile.in: Regenerate. * configure.ac: Do not invoke TL_AC_GCC_VERSION. * aclocal.m4, configure: Regenerate. gcc: * BASE-VER, DATESTAMP, DEV-PHASE: New files. * Makefile.in (gcc_version, gcc_version_trigger, ): Delete. (BASEVER, DEVPHASE, DATESTAMP, BASEVER_c, DEVPHASE_c, DATESTAMP_c) (BASEVER_s, DEVPHASE_s, DATESTAMP_s): New variables. (version): Define using $(BASEVER_c). (Makefile, config.status, build/gcov-iov.o): No longer depends on version.c. (version.o): Depend on version files; add custom generation command. (prefix.o): Define BASEVER on command line. (s-iov): Depend on version files; adjust command. (TEXI_CPP_FILES, TEX_IGCC_FILES, TEXI_GCCINT_FILES, TEXI_CPPINT_FILES): Add gcc-vers.texi. (gcc-vers.texi): New rule. (doc/%.info, doc/%.dvi): Add -I . to command line. (doc/gccinstall.dvi): Likewise. (PACKAGE): Delete. All uses replaced with "gcc". * aclocal.m4: Do not include gcc-version.m4. * configure.ac: Do not invoke TL_AC_GCC_VERSION. Do not AC_SUBST nor AC_DEFINE PACKAGE or VERSION. Set is_release based on contents of DEV-PHASE. Set gcc_version based on contents of BASE-VER. Define WIN32_REGISTRY_KEY only if the user overrode the default. * config.in, configure: Regenerate. * gccbug.in: Determine version of GCC in use at runtime. * gcov-iov.c: Get version number and development phase from command line, not by including version.c. * intl.c: Replace all uses of PACKAGE with "gcc". * libada-mk.in: Delete unused "gcc_version" variable. * prefix.c: Default WIN32_REGISTRY_KEY to BASEVER. * version.c: (VERSUFFIX): New hook for redistributors; adjust commentary to match. (version_string): Put together from pieces. * config/alpha/x-vms: Do not use $(gcc_version). * config/i386/t-nwld: Likewise. * doc/include/gcc-common.texi: Include gcc-vers.texi for version-GCC and DEVELOPMENT. gcc/ada: * Make-lang.in (doc/gnat_ugn_unw.info, doc/gnat_rm.info) (doc/gnat_ugn_unw.dvi, doc/gnat_rm.dvi): Add gcc-vers.texi to dependencies. gcc/fortran: * Make-lang.in (GFORTRAN_TEXI): Add gcc-vers.texi. gcc/java: * Make-lang.in (TEXI_JAVA_FILES): Add gcc-vers.texi. gcc/treelang: * Make-lang.in (TEXI_TREELANG_FILES): Add gcc-vers.texi. libstdc++-v3: * include/Makefile.am (c++config.h): Depend on DATESTAMP from gcc subdirectory. Generate #define of __GLIBCXX__ from contents of that file. * include/Makefile.in: Regenerate. * include/bits/c++config: Do not define __GLIBCXX__. maintainer-scripts: * README: Update. * gcc_release: Update gcc/DEV-PHASE if that file exists, instead of gcc/version.c. * update_version: Handle updating gcc/DATESTAMP. * update_web_docs: Generate gcc-vers.texi first. From-SVN: r96549
2005-03-10Fix non-Ada bootstrap failure reported by Ranjit Mathew 2005-03-10 Ranjit ↵Ranjit Mathew1-1/+1
Mathew <rmathew@hotmail.com> Fix non-Ada bootstrap failure reported by Ranjit Mathew 2005-03-10 Ranjit Mathew <rmathew@hotmail.com> * gcc_release (ADA_DIRS): Add "gnattools". From-SVN: r96281
2004-08-14gcc_release (build_sources): Add comment header to generated MD5SUMS.Kelley Cook1-1/+16
2004-08-14 Kelley Cook <kcook@gcc.gnu.org> * gcc_release (build_sources): Add comment header to generated MD5SUMS. From-SVN: r86000
2004-08-06gcc_release (snapshot_print): Accept arguments.Kelley Cook1-81/+73
2004-08-06 Kelley Cook <kcook@gcc.gnu.org> * gcc_release (snapshot_print): Accept arguments. Don't use echo -e. (announce_snapshot): Update for above. Don't use echo -e. From-SVN: r85637
2004-08-03maintainer-scripts (snapshot_print): New function.Kelley Cook1-20/+94
2004-08-03 Kelley Cook <kcook@gcc.gnu.org> * maintainer-scripts (snapshot_print): New function. (announce_snapshot): Generate announcment on the fly. Use a directory link for LATEST. * snapshot-README: Delete. * snapshot-index.html: Delete. From-SVN: r85508
2004-07-16gcc_release: Revert yesterday's change.Toon Moene1-1/+4
2004-07-16 Toon Moene <toon@moene.indiv.nluug.nl> * maintainer-scripts/gcc_release: Revert yesterday's change. From-SVN: r84827
2004-07-15libf2c: Removed.Toon Moene1-4/+1
2004-07-15 Toon Moene <toon@moene.indiv.nluug.nl> * libf2c: Removed. * gcc/gccbug.in: Updated because of libf2c removal. * maintainer-scripts/gcc_release: Ditto. From-SVN: r84759