Commit Graph

98 Commits

Author SHA1 Message Date
Jakub Jelinek
9038a1de78 gcc_release (error, inform): Use $@ instead of $1.
* 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-10-26 12:26:17 +02:00
Jakub Jelinek
31aac34486 re PR other/85622 (gcc-8.1.0/NEWS says it's not released yet)
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-05-03 11:29:39 +02:00
Richard Biener
8819c9199a gcc_release (build_sources): Use getconf to get at the number of cores in 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
2018-01-25 10:22:38 +00:00
Matthias Klose
4b3e231475 gcc_release (XZ): Default to xz --best.
2017-05-23  Matthias Klose  <doko@ubuntu.com>

        * gcc_release (XZ): Default to xz --best.

From-SVN: r248392
2017-05-23 23:14:10 +00:00
Matthias Klose
d300615539 gcc_release (build_gzip): Build xz tarball instead of bz2 tarball.
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-05-18 18:49:16 +00:00
Gerald Pfeifer
252e3e7b4a * gcc_release (snapshot_print): Replace md5 checksum by sha256.
From-SVN: r245875
2017-03-03 14:12:04 +00:00
Jakub Jelinek
49bd12939f gcc_release: Fix up thinko in the last commit, improve error message.
* 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-13 10:44:56 +02:00
Jakub Jelinek
e183a9d567 gcc_release: For RELEASE_MAJOR 5+ only use the major number in branch name.
* 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
2015-04-12 22:49:37 +02:00
Dmitry Gorbachev
bca420ed5f re PR other/56653 (Warning when verifying checksums from MD5SUMS file in tarballs)
PR other/56653
	* gcc_release: Avoid printing empty line to generated MD5SUMS files.
	Bump copyright year.

From-SVN: r207387
2014-02-01 12:01:56 +00:00
Joseph Myers
ba7923d19f gcc_release (adjust_dirs, [...]): Remove.
* 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-05-22 15:20:12 +01:00
Jakub Jelinek
3b6e9676fe gcc_release (maybe_build_tarfile): Don't build a tarfile if the first directory doesn't exist.
* gcc_release (maybe_build_tarfile): Don't build a tarfile if
	the first directory doesn't exist.

From-SVN: r172827
2011-04-21 15:15:02 +02:00
Ian Lance Taylor
6f3bbbe728 gcc_release: Add support for releasing Go as a separate tarball.
* gcc_release: Add support for releasing Go as a separate
	tarball.

From-SVN: r167616
2010-12-08 23:55:43 +00:00
Gerald Pfeifer
52965ca612 gcc_release (snapshot_print): Also include an sha1 hash for every tarball.
* gcc_release (snapshot_print): Also include an sha1 hash for
	every tarball.  Slightly tweak indentation.

From-SVN: r163487
2010-08-23 18:52:06 +00:00
Gerald Pfeifer
0338b5808d * gcc_release (CVSROOT): Remove all occurrences.
From-SVN: r163253
2010-08-14 22:57:37 +00:00
Gerald Pfeifer
0c21b3cacd gcc_release (snapshot_print): Include md5 hash for every tarball in the 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-08-14 21:42:16 +00:00
Joseph Myers
d49d9a7df5 gcc_release (build_tarfiles): Make directories mode 755, not 777.
* gcc_release (build_tarfiles): Make directories mode 755, not
	777.

From-SVN: r157874
2010-03-31 17:26:13 +01:00
Diego Novillo
d7f09764d7 Merge lto branch into trunk.
From-SVN: r152434
2009-10-03 17:10:11 -04:00
Jakub Jelinek
748086b7b2 Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception.
From-SVN: r145841
2009-04-09 17:00:19 +02:00
Richard Guenther
f791417262 gcc_release (JAVA_DIRS): Remove fastjar.
2009-01-17  Richard Guenther  <rguenther@suse.de>

	* gcc_release (JAVA_DIRS): Remove fastjar.

From-SVN: r143465
2009-01-17 14:53:57 +00:00
Gerald Pfeifer
f913dcd658 * gcc_release: Fix a couple of comments.
From-SVN: r140867
2008-10-04 13:46:23 +00:00
Joseph Myers
f47687a1c2 crontab: Remove 4.1 snapshots job.
* 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-07-04 15:58:14 +01:00
Joseph Myers
7444c8717a gcc_release (build_sources): Pass --disable-multilib to gcc_build.
* gcc_release (build_sources): Pass --disable-multilib to
	gcc_build.
	(SVN): Don't use full path.

From-SVN: r131908
2008-01-28 16:38:40 +00:00
Gerald Pfeifer
c2ffa91a3a gcc_release: Do not include copies of faq.html in releases...
* 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-10-01 06:21:10 +00:00
Paul Brook
2f41c1d60b configure.ac: Add --with-pkgversion and --with-bugurl.
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-08-21 16:35:30 +01:00
Mike Stump
a5675618c7 * gcc_release: Update for Objective-C++.
From-SVN: r126084
2007-06-28 19:12:10 +00:00
Mark Mitchell
f0b9a44b8d * gcc_release: Adjust placement of release candidates.
From-SVN: r125149
2007-05-28 22:11:18 +00:00
Gerald Pfeifer
fad257c316 * gcc_release (LC_ALL): Default to C.
From-SVN: r117029
2006-09-18 17:07:14 +00:00
Joseph Myers
a39d2742be gcc_release: Further update for SVN.
* 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-06 18:29:17 +00:00
Daniel Berlin
d4a43a05fa gcc_release: Always determine revision number from date or tag...
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-06 02:37:29 +00:00
Daniel Berlin
d492addcd3 gcc_release: Make tags go in /tags.
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-05 18:41:06 +00:00
Daniel Berlin
bb54fdfdf7 first pass at updated gcc_release, should work for snapshots
From-SVN: r106476
2005-11-04 02:51:25 +00:00
Mark Mitchell
fdf84417b9 gcc_release (build_sources): If trying to apply a tag that already exists, 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-10-01 08:42:33 +00:00
Kelley Cook
e252987e8e gcc_release: Update with FSF address.
2005-08-14  Kelley Cook  <kcook@gcc.gnu.org>

	* gcc_release: Update with FSF address.

From-SVN: r103097
2005-08-15 01:01:02 +00:00
Zack Weinberg
a1286ef574 gcc-version.m4: Delete.
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-16 06:04:10 +00:00
Ranjit Mathew
8bad007cf7 Fix non-Ada bootstrap failure reported by Ranjit Mathew 2005-03-10 Ranjit 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
2005-03-10 17:47:31 -08:00
Kelley Cook
f120a34c8e gcc_release (build_sources): Add comment header to generated MD5SUMS.
2004-08-14  Kelley Cook  <kcook@gcc.gnu.org>

	* gcc_release (build_sources): Add comment header to generated
	MD5SUMS.

From-SVN: r86000
2004-08-14 16:47:52 +00:00
Kelley Cook
155cb61615 gcc_release (snapshot_print): Accept arguments.
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-06 11:11:11 +00:00
Kelley Cook
2e84789689 maintainer-scripts (snapshot_print): New function.
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-08-03 21:42:18 +00:00
Toon Moene
cc440d714f gcc_release: Revert yesterday's change.
2004-07-16  Toon Moene  <toon@moene.indiv.nluug.nl>

	* maintainer-scripts/gcc_release: Revert yesterday's change.

From-SVN: r84827
2004-07-16 18:37:05 +00:00
Toon Moene
3e4035f833 libf2c: Removed.
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-07-15 16:52:49 +00:00
Paolo Bonzini
0ca8e815a5 gcc_release (build_sources): Move the libcpp gmo files to the source directory.
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-09 09:07:11 +00:00
Joseph Myers
d6f3f2616f gcc_release (maybe_build_tarfile): New function.
* gcc_release (maybe_build_tarfile): New function.
	(build_tarfiles): Use maybe_build_tarfile.

From-SVN: r82613
2004-06-04 01:02:04 +01:00
Paolo Carlini
722962a655 gcc_release (build_sources): Generate the NEWS file in toplevel.
2004-05-21  Paolo Carlini  <pcarlini@suse.de>

	* gcc_release (build_sources): Generate the NEWS file in toplevel.

From-SVN: r82095
2004-05-21 12:41:32 +00:00
Kelley Cook
2f70118592 gcc_release (build_sources): Change CRCs from brik to md5sum.
[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-17 23:26:49 +00:00
Joseph Myers
78ff5eeaac * gcc_release (DIFF): Remove -3 option.
From-SVN: r81767
2004-05-13 09:54:30 +01:00
Diego Novillo
6de9cd9a88 Merge tree-ssa-20020619-branch into mainline.
From-SVN: r81764
2004-05-13 02:41:07 -04:00
Mark Mitchell
8e48104da7 * gcc_release (build_sources): Do not use "-F" to tag sources.
From-SVN: r80867
2004-04-19 21:48:46 +00:00
Mark Mitchell
2e55bbc120 gcc_release (build_sources): Do not use "-r" and "-D" at the same time with "cvs export".
* gcc_release (build_sources): Do not use "-r" and "-D" at the
	same time with "cvs export".

From-SVN: r80480
2004-04-07 17:50:31 +00:00
Gerald Pfeifer
aaaf25eba8 gcc_release: Fix sanity check for argument of -p command-line options.
* gcc_release: Fix sanity check for argument of -p command-line
	options.  In snapshot mode, only generate diffs against the previous
	snapshot if the user did not specify any old tarball explictly.

From-SVN: r80009
2004-03-27 01:20:45 +00:00
Gerald Pfeifer
32f4b1ed21 gcc_release (FTP_PATH): Use /var/ftp instead of ~ftp, and only set at a single place.
* gcc_release (FTP_PATH): Use /var/ftp instead of ~ftp, and
	only set at a single place.

From-SVN: r79949
2004-03-25 10:57:50 +00:00