public inbox for buildbot@sourceware.org
 help / color / mirror / Atom feed
* [PATCH 1/5] autoregen.py: enable autoreconf for gcc, libdecnumber, libiberty, libobjc
@ 2024-04-17 14:50 Christophe Lyon
  2024-04-17 14:50 ` [PATCH 2/5] autoregen.py: Move subdirs common to binutils-gdb and gcc Christophe Lyon
                   ` (4 more replies)
  0 siblings, 5 replies; 13+ messages in thread
From: Christophe Lyon @ 2024-04-17 14:50 UTC (permalink / raw)
  To: buildbot; +Cc: Christophe Lyon

Calling just 'autoreconf' works well for these subdirs despite the
absence of Makefile.am: there's no real need to provide -I xxxx flags
when calling aclocal, the generated files are the same.

It does make a difference for gcc and libobjc however: some warnings
are printed by autoreconf, because additional .m4 files are parsed in
a different order by plain 'aclocal' and 'aclocal -I xxx'.

We can accept that for the buildbot, for the sake of simplicity of
this helper, but that may confuse users.
---
 builder/containers/autoregen.py | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/builder/containers/autoregen.py b/builder/containers/autoregen.py
index 64d132e..38cbdae 100755
--- a/builder/containers/autoregen.py
+++ b/builder/containers/autoregen.py
@@ -73,7 +73,7 @@ AUTORECONF_DIRS = [
 
     # gcc subdirs
     "c++tools", # No aclocal.m4
-    #"gcc", # No Makefile.am
+    "gcc", # No Makefile.am
     #"fixincludes", # autoreconf complains about GCC_AC_FUNC_MMAP_BLACKLIST
     "gnattools", # No aclocal.m4
     "gotools",
@@ -83,7 +83,7 @@ AUTORECONF_DIRS = [
     "libcc1",
     "libcody", # No aclocal.m4
     #"libcpp", # No Makefile.am
-    #"libdecnumber", # No Makefile.am
+    "libdecnumber", # No Makefile.am
     "libffi",
     "libgcc", # No aclocal.m4
     "libgfortran",
@@ -94,9 +94,9 @@ AUTORECONF_DIRS = [
     "libgo",
     "libgomp",
     "libgrust",
-    #"libiberty", # No Makefile.am
+    "libiberty", # No Makefile.am
     "libitm",
-    #"libobjc", # No Makefile.am
+    "libobjc", # No Makefile.am
     "libphobos",
     "libquadmath",
     "libsanitizer",
@@ -149,7 +149,7 @@ def regenerate_manually():
             include_arg = "-I.."
             include_arg2 = "-I../config"
 
-        if folder.stem == "libgm2" or folder.stem == "gcc" or folder.stem == "libiberty" or folder.stem == "libobjc":
+        if folder.stem == "libgm2":
             include_arg = "-I../config"
             include_arg2 = "-I.."
 
-- 
2.34.1


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2024-04-19  8:22 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-17 14:50 [PATCH 1/5] autoregen.py: enable autoreconf for gcc, libdecnumber, libiberty, libobjc Christophe Lyon
2024-04-17 14:50 ` [PATCH 2/5] autoregen.py: Move subdirs common to binutils-gdb and gcc Christophe Lyon
2024-04-17 14:50 ` [PATCH 3/5] autoregen.py: improve comment Christophe Lyon
2024-04-17 14:50 ` [PATCH 4/5] autoregen.py: libcpp can use autoreconf Christophe Lyon
2024-04-18 21:46   ` Mark Wielaard
2024-04-19  8:20     ` Christophe Lyon
2024-04-17 14:50 ` [PATCH 5/5] autoregen.py: Add introduction comment Christophe Lyon
2024-04-17 15:12   ` Simon Marchi
2024-04-18  9:59     ` Christophe Lyon
2024-04-18 21:55       ` Mark Wielaard
2024-04-19  8:22         ` Christophe Lyon
2024-04-18 21:53 ` [PATCH 1/5] autoregen.py: enable autoreconf for gcc, libdecnumber, libiberty, libobjc Mark Wielaard
2024-04-19  8:21   ` Christophe Lyon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).