summaryrefslogtreecommitdiff
path: root/maintainer-scripts/gcc_release
AgeCommit message (Collapse)Author
2020-03-12maintainer-scripts: Fix up gcc_release without -l, where mkdir was using ↵Jakub Jelinek
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 Jelinek
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 Myers
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 Blomqvist
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 Jelinek
* 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 Jelinek
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 Biener
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 Klose
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 Klose
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 Pfeifer
From-SVN: r245875
2015-04-13gcc_release: Fix up thinko in the last commit, improve error message.Jakub Jelinek
* 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 Jelinek
* 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 Gorbachev
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 Myers
* 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 Jelinek
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 Taylor
* 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 Pfeifer
* 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 Pfeifer
From-SVN: r163253
2010-08-14gcc_release (snapshot_print): Include md5 hash for every tarball in the ↵Gerald Pfeifer
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 Myers
* gcc_release (build_tarfiles): Make directories mode 755, not 777. From-SVN: r157874
2009-10-03Merge lto branch into trunk.Diego Novillo
From-SVN: r152434
2009-04-09Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.Jakub Jelinek
From-SVN: r145841
2009-01-17gcc_release (JAVA_DIRS): Remove fastjar.Richard Guenther
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 Pfeifer
From-SVN: r140867
2008-07-04crontab: Remove 4.1 snapshots job.Joseph Myers
* 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 Myers
* 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 Pfeifer
* 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 Brook
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 Stump
From-SVN: r126084
2007-05-28* gcc_release: Adjust placement of release candidates.Mark Mitchell
From-SVN: r125149
2006-09-18* gcc_release (LC_ALL): Default to C.Gerald Pfeifer
From-SVN: r117029
2005-11-06gcc_release: Further update for SVN.Joseph Myers
* 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 Berlin
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 Berlin
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 Berlin
From-SVN: r106476
2005-10-01gcc_release (build_sources): If trying to apply a tag that already exists, ↵Mark Mitchell
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 Cook
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 Weinberg
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 Mathew
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 Cook
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 Cook
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 Cook
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 Moene
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 Moene
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
2004-06-09gcc_release (build_sources): Move the libcpp gmo files to the source directory.Paolo Bonzini
maintainer-scripts/ChangeLog: 2004-06-09 Paolo Bonzini <bonzini@gnu.org> * gcc_release (build_sources): Move the libcpp gmo files to the source directory. libcpp/ChangeLog: 2004-06-09 Paolo Bonzini <bonzini@gnu.org> * Makefile.am (all-local): New. * Makefile.in: Regenerate. From-SVN: r82819
2004-06-04gcc_release (maybe_build_tarfile): New function.Joseph Myers
* gcc_release (maybe_build_tarfile): New function. (build_tarfiles): Use maybe_build_tarfile. From-SVN: r82613
2004-05-21gcc_release (build_sources): Generate the NEWS file in toplevel.Paolo Carlini
2004-05-21 Paolo Carlini <pcarlini@suse.de> * gcc_release (build_sources): Generate the NEWS file in toplevel. From-SVN: r82095
2004-05-17gcc_release (build_sources): Change CRCs from brik to md5sum.Kelley Cook
[maintainer-scripts/] 2004-05-17 Kelley Cook <kcook@gcc.gnu.org> * gcc_release (build_sources): Change CRCs from brik to md5sum. [htdocs/] 2004-05-17 Kelley Cook <kcook@gcc.gnu.org> * snapshots.html: Update docs for checking with md5sum. From-SVN: r81958
2004-05-13* gcc_release (DIFF): Remove -3 option.Joseph Myers
From-SVN: r81767
2004-05-13Merge tree-ssa-20020619-branch into mainline.Diego Novillo
From-SVN: r81764