Commit graph

346 commits

Author SHA1 Message Date
GCC Administrator
d776b20148 Daily bump. 2025-04-18 00:16:59 +00:00
Jakub Jelinek
6027ba0c05 Update crontab and git_update_version.py
2025-04-17  Jakub Jelinek  <jakub@redhat.com>

maintainer-scripts/
	* crontab: Snapshots from trunk are now GCC 16 related.
	Add GCC 15 snapshots from the respective branch.
contrib/
	* gcc-changelog/git_update_version.py (active_refs): Add
	releases/gcc-15.
2025-04-17 12:50:35 +02:00
GCC Administrator
0980a6ff7a Daily bump. 2025-04-08 00:17:33 +00:00
Jakub Jelinek
5d3b2f07b1 cobol: Fix up update_web_docs_git for COBOL [PR119227]
As mentioned in the PR, the COBOL documentation is currently not present
in onlinedocs at all.
While the script generates gcobol{,-io}.{pdf,html}, it generates them in
the gcc/gcc/cobol/ subdirectory of the update_web_docs_git temporary
directory and nothing find it there afterwards, all the processing is on
for file in */*.html *.ps *.pdf *.tar; do
So, this patch puts gcobol{,-io}.html into gcobol/ subdirectory and
gcobol{,-io}.pdf into the current directory, so that it is picked up.
With this it makes into onlinedocs:
find . -name \*cobol\*
./onlinedocs/gcobol.pdf.gz
./onlinedocs/gcobol.pdf
./onlinedocs/gcobol_io.pdf.gz
./onlinedocs/gcobol_io.pdf
./onlinedocs/gcobol
./onlinedocs/gcobol/gcobol_io.html.gz
./onlinedocs/gcobol/gcobol_io.html
./onlinedocs/gcobol/gcobol.html.gz
./onlinedocs/gcobol/gcobol.html
./onlinedocs/gnat_rm/gnat_005frm_002finterfacing_005fto_005fother_005flanguages-interfacing-to-cobol.html.gz
./onlinedocs/gnat_rm/gnat_005frm_002finterfacing_005fto_005fother_005flanguages-interfacing-to-cobol.html
./onlinedocs/gnat_rm/gnat_005frm_002fimplementation_005fadvice-rm-f-7-cobol-support.html.gz
./onlinedocs/gnat_rm/gnat_005frm_002fimplementation_005fadvice-rm-f-7-cobol-support.html
./onlinedocs/gnat_rm/gnat_005frm_002fimplementation_005fadvice-rm-b-4-95-98-interfacing-with-cobol.html.gz
./onlinedocs/gnat_rm/gnat_005frm_002fimplementation_005fadvice-rm-b-4-95-98-interfacing-with-cobol.html

2025-04-07  Jakub Jelinek  <jakub@redhat.com>

	PR web/119227
	* update_web_docs_git: Rename mdoc2pdf_html to cobol_mdoc2pdf_html,
	perform mkdir -p $DOCSDIR/gcobol gcobol, remove $d/ from pdf and in
	html replace it with gcobol/; update uses of the renamed function.
2025-04-07 13:53:20 +02:00
GCC Administrator
56988099af Daily bump. 2025-04-01 00:19:09 +00:00
Jakub Jelinek
7d126e2bbb gcc_release: Generate srcdir extras/infos/man pages from all FEs [PR119510]
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-31 10:13:42 +02:00
GCC Administrator
69a85f1f66 Daily bump. 2025-03-29 00:17:59 +00:00
Richard Biener
bb389fb04b other/119510 - use --enable-languages=default,cobol for release tarballs
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.
2025-03-28 15:38:17 +01:00
GCC Administrator
7efe3aa9b5 Daily bump. 2025-03-12 00:18:35 +00:00
James K. Lowden
86c692c51c Update update_web_docs_git for cobol
maintainer-scripts/
	* update_web_docs_git: Add libgcobol module and cobol language.
2025-03-11 07:48:27 +01:00
GCC Administrator
f36cb8c79d Daily bump. 2024-12-04 00:21:20 +00:00
David Malcolm
e6e4cb34e3 maintainer-scripts: build the libgdiagnostics docs for the website [PR117883]
maintainer-scripts/ChangeLog:
	PR web/117883
	* update_web_docs_git: Introduce SPHINX_VENV to make
	it easier to test the script.  Add the libgdiagnostics docs
	and testsuite to the files to be preserved.  Use sphinx to build
	the libgdiagnostics docs as HTML.  Copy them into $DOCSDIR.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2024-12-03 13:53:46 -05:00
David Malcolm
168f938b8f maintainer-scripts: fix jit docs on website
I noticed whilst working on the libgdiagnostics docs
that some errors like this were occurring in the jit docs:

/tmp/gcc-doc-update.3782849/gcc/gcc/jit/docs/cp/topics/asm.rst:63: WARNING: Include file '/tmp/gcc-doc-update.3782849/gcc/gcc/testsuite/jit.dg/test-asm.cc' not found or reading it failed

which was occurring for:
* test-asm.c and .cc
* test-switch.c
* test-accessing-union.c

and indeed https://gcc.gnu.org/onlinedocs/jit/topics/asm.html is
currently missing various code examples.

Fixed thusly; tested locally.

maintainer-scripts/ChangeLog:
	* update_web_docs_git: Add the jit testsuite to the files to
	be preserved, since this is used by the jit docs.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
2024-12-03 13:53:42 -05:00
GCC Administrator
8d6498f0d7 Daily bump. 2024-07-20 00:17:53 +00:00
Richard Biener
a589d3bfe5 Close GCC 11 branch
Remove gcc-11 branch from updating and snapshot generating

contrib/
	* gcc-changelog/git_update_version.py: Remove gcc-11 branch.

maintainer-scripts/
	* crontab: Remove entry for gcc-11 branch.
2024-07-19 07:59:58 +02:00
GCC Administrator
53eef7915a Daily bump. 2024-07-08 00:17:01 +00:00
Gerald Pfeifer
e3b8480f94 maintainer-scripts: Switch bug reporting URL to https
maintainer-scripts:
	* update_web_docs_git (BUGURL): Switch to https.
2024-07-07 22:20:45 +02:00
GCC Administrator
2781d8090e Daily bump. 2024-04-27 00:18:05 +00:00
Jakub Jelinek
036aad9dfc Update crontab and git_update_version.py
2024-04-26  Jakub Jelinek  <jakub@redhat.com>

maintainer-scripts/
	* crontab: Snapshots from trunk are now GCC 15 related.
	Add GCC 14 snapshots from the respective branch.
contrib/
	* gcc-changelog/git_update_version.py (active_refs): Add
	releases/gcc-14.
2024-04-26 12:18:29 +02:00
GCC Administrator
b9fd8399ec Daily bump. 2023-11-14 12:23:39 +00:00
Sam James
d22b87864e maintainer-scripts/gcc_release: cleanup whitespace
maintainer-scripts/
	* gcc_release: Cleanup whitespace.

Signed-off-by: Sam James <sam@gentoo.org>
2023-11-14 00:19:45 +00:00
Sam James
3239a80555 maintainer-scripts/gcc_release: use HTTPS for links
maintainer-scripts/
	* gcc_release: Use HTTPS for links.

Signed-off-by: Sam James <sam@gentoo.org>
2023-11-14 00:19:41 +00:00
GCC Administrator
01405f0108 Daily bump. 2023-07-08 00:16:53 +00:00
Richard Biener
8bebf97f84 Closing the GCC 10 branch
contrib/
	* gcc-changelog/git_update_version.py: Remove GCC 10 from
	active_refs.

maintainer-scripts/
	* crontab: Remove entry for GCC 10.
2023-07-07 09:11:46 +02:00
GCC Administrator
ce4e4f37fd Daily bump. 2023-04-21 00:17:31 +00:00
Arsen Arsenović
fa3a566378
update_web_docs_git: Allow setting TEXI2*, add git build default
maintainer-scripts/ChangeLog:

	* update_web_docs_git: Add a mechanism to override makeinfo,
	texi2dvi and texi2pdf, and default them to
	/home/gccadmin/texinfo/install-git/bin/${tool}, if present.
2023-04-20 22:57:16 +02:00
GCC Administrator
56b288f508 Daily bump. 2023-04-18 00:17:26 +00:00
Jakub Jelinek
f46ab32139 Update crontab and git_update_version.py
2023-04-17  Jakub Jelinek  <jakub@redhat.com>

maintainer-scripts/
	* crontab: Snapshots from trunk are now GCC 14 related.
	Add GCC 13 snapshots from the respective branch.
contrib/
	* gcc-changelog/git_update_version.py (active_refs): Add
	releases/gcc-13.
2023-04-17 15:16:11 +02:00
GCC Administrator
031785270a Daily bump. 2023-03-22 00:17:03 +00:00
Arsen Arsenović
0395e1364d
html: Set CONTENTS_OUTPUT_LOCATION=inline if makeinfo supports it
This flag allows us to restore old (pre-6.8) behavior of the
@{summary,}content commands, so that texi2any continues to emit
summarycontents first.

maintainer-scripts/ChangeLog:

	* update_web_docs_git: Set CONTENTS_OUTPUT_LOCATION=inline in
	order to put @shortcontents above contents.

gcc/ChangeLog:

	* configure.ac: Add check for the Texinfo 6.8
	CONTENTS_OUTPUT_LOCATION customization variable and set it if
	supported.
	* configure: Regenerate.
	* Makefile.in (MAKEINFO_TOC_INLINE_FLAG): New variable.  Set by
	configure.ac to -c CONTENTS_OUTPUT_LOCATION=inline if
	CONTENTS_OUTPUT_LOCATION support is detected, empty otherwise.
	($(build_htmldir)/%/index.html): Pass MAKEINFO_TOC_INLINE_FLAG.
2023-03-21 09:47:34 +01:00
Arsen Arsenović
27334ebe38
update_web_docs_git: Update CSS reference to new manual CSS
maintainer-scripts/ChangeLog:

	* update_web_docs_git (CSS): Update CSS reference to point to
	/texinfo-manuals.css.
2023-03-21 09:47:34 +01:00
GCC Administrator
5c389a5c36 Daily bump. 2023-03-17 00:17:03 +00:00
Gaius Mulley
fa4d0ab533 maintainer-scripts: Add Modula-2 manual to update_web_docs_git
maintainer-scripts/ChangeLog:

	* update_web_docs_git (MANUALS): Add gm2.
	Add include path for gm2 manual.
2023-03-17 00:11:48 +01:00
Gerald Pfeifer
0c061da91a maintainer-scripts: Abstract BUGURL in update_web_docs_git
The URL where to report bugs is hard coded in two places; abstract that
into one variable, defined up front.

maintainer-scripts/ChangeLog:

	* update_web_docs_git (BUGURL): Introduce and use throughout.
2023-03-16 01:25:14 +01:00
GCC Administrator
6eea85a95e Daily bump. 2022-12-01 00:17:51 +00:00
Iain Buclaw
d13c359a49 maintainer-scripts: Add gdc to update_web_docs_git
So that it's built and uploaded to gcc.gnu.org/onlinedocs.

	PR web/107749

maintainer-scripts/ChangeLog:

	* update_web_docs_git: Add gdc to MANUALS.
2022-11-30 22:40:56 +01:00
GCC Administrator
8761284fd7 Daily bump. 2022-11-24 00:17:47 +00:00
Sam James
2650b6f914 maintainer-scripts/gcc_release: compress xz in parallel
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.
2022-11-23 09:53:48 +00:00
GCC Administrator
83d400bded Daily bump. 2022-11-15 08:32:29 +00:00
Martin Liska
c909a4af72 Revert "sphinx: add update_web_docs_git.py script"
This reverts commit 6373b1fdf7.
2022-11-14 09:35:05 +01:00
Martin Liska
705dd990de Revert "sphinx: simplify default in baseconf.py."
This reverts commit 8d7a55b7f4.
2022-11-14 09:35:04 +01:00
Martin Liska
8c7311c198 Revert "sphinx: update crontab with new script"
This reverts commit d05a423c1e.
2022-11-14 09:35:04 +01:00
Martin Liska
65ae20063a Revert "docs: create sources tarball"
This reverts commit 52eedc1fa3.
2022-11-14 09:35:04 +01:00
Martin Liska
30ad6e0f46 Revert "maintainer-scripts: fix superfluous 'sh' for Python script"
This reverts commit 9072763f4f.
2022-11-14 09:35:03 +01:00
GCC Administrator
f225b813e4 Daily bump. 2022-11-11 00:17:22 +00:00
Martin Liska
9072763f4f maintainer-scripts: fix superfluous 'sh' for Python script
maintainer-scripts/ChangeLog:

	* crontab: Fix superfluous 'sh' for Python script.
2022-11-10 06:37:32 +01:00
GCC Administrator
1cdfd0e5cd Daily bump. 2022-11-10 00:17:57 +00:00
Martin Liska
52eedc1fa3 docs: create sources tarball
maintainer-scripts/ChangeLog:

	* update_web_docs_git.py: Create sources tarball.
2022-11-09 19:37:15 +01:00
Martin Liska
d05a423c1e sphinx: update crontab with new script
maintainer-scripts/ChangeLog:

	* crontab: Use new script for documentation of master branch.
2022-11-09 12:37:20 +01:00
Martin Liska
8d7a55b7f4 sphinx: simplify default in baseconf.py.
ChangeLog:

	* doc/baseconf.py: Simplify BUGURL and VERSION_PACKAGE,
	provide a default.

maintainer-scripts/ChangeLog:

	* update_web_docs_git.py: Simplify.
2022-11-09 11:52:13 +01:00