From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by sourceware.org (Postfix) with ESMTPS id CD28C3858C56 for ; Fri, 12 Apr 2024 20:06:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CD28C3858C56 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CD28C3858C56 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::331 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712952393; cv=none; b=J7MrKv5OlcfY9HQciKtTXd2OnHbdeFNglo76/qUCXEmUHyfZ3X4g16Fv8q7qmm7Ad/DU/iG1aKJN/rI7t9LkppRraL6upkHkIn8huw7qFhEB0YJORRAwMoc5a9Die8DtBvkBpz9SJirFbjqggE6fCkGyXPNKWWu+/MJDjD9RD5k= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712952393; c=relaxed/simple; bh=AMOLOdbLY8qBxor1TnWI/+6r8C1saE6amDN7oakvMe4=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=rFaoRaIEGzwBHufTq9TjhTmgCqUBJylmuBfubQbOjy9yChs+NfoY0nFfGfo5x/RXQKD3AltqOktVrVuNvvx6BDtpjXN7E/MW/kpqE9WDT/y4i9E8vPJ61/tq/68GhpiVGyZWA9Z6Z5if+AuGowqOSy3SCQjnsWVoFqHbVeU+a+I= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ot1-x331.google.com with SMTP id 46e09a7af769-6ea2375d8d0so1091049a34.0 for ; Fri, 12 Apr 2024 13:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712952390; x=1713557190; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=UPoQLTkugzrLENxI8NVxbt0F1Ua1tG3CbrFz/h1eqS4=; b=a844MbzMgr08PcW3DiwXGi+4WDD0HIPJG1Hee4D/Ieyp5Hyx+taaqe1/VEBVZqYBGE GALCylGqS4hjbBKqUCgu0YR0RvP0HyiKgtdaknFZ8NIrKs6PIawSUq7QnqnFFUQ7tXrQ LnkfLz9jTbTvdo3IPVE9z3upBs3Sa0fzh/2QIg7Je15b2lSYVNZ/es6w5a7QtHpyA1nq PsGWDfHfkJJEJBvjTAq0WhIV4jGEMdtpHgKDv5iiXz8D6p7gLkz5mYZyYGONli6Ai8qz RqdqxwAwXjXxYltlGtofV23aVOumwz4zOTantttl5OOE9ekN/2DpxQsN2B5pBIaykaT1 hpLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712952390; x=1713557190; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=UPoQLTkugzrLENxI8NVxbt0F1Ua1tG3CbrFz/h1eqS4=; b=BGPcDry4loSsb8J7z1y6vUjPGqpY7XFHzF6NW0ftyVpwIC7RdqHkiPPwLE52UwbQGg gJTbJMU4yafZZwdFGqmjPYe1iLU5tBT524GeinZeXmMFa/L+Ad6+9rWfYxUsywD+FIUS wpzu7S3lBNv2EY70KPnr3TQkAM8X24Dn/+wXsn9IjSbvpJEyEjtW7RjuA3HLcpy48wuM l79zTJmHAIj78eJrcC6yzz2q/BGi49buV8OuvF4d5yR8j76uaQ6p0qTgcOIsoqUyiK2o +XEXnyFuL5noJ3oV5zNqBRQdK/VvsP+6zERtaDCbsHGwn5WKGV/CFsnvWSJqSWrtU7JF WWEA== X-Gm-Message-State: AOJu0YwVfGPiZip+LMsHT4ssrUScdk4E+w0RqOe224Kt9LiVuiAjTY8z YQposwRjzh0zEEq3joQHJ4ujv9uSCAhR/1C8xrcsPtGQ2ybv2aCxBbm8Z53/26eVYs9kMVKVhaf xtrc= X-Google-Smtp-Source: AGHT+IHQyektmQDPmYq5x+h3yRB1WHkacddaYnTba+QH9L0WioVGRm5VGRYjd8PNZC9eT16fW3oDKg== X-Received: by 2002:a05:6808:2008:b0:3c5:f187:2088 with SMTP id q8-20020a056808200800b003c5f1872088mr4798883oiw.40.1712952390267; Fri, 12 Apr 2024 13:06:30 -0700 (PDT) Received: from localhost.localdomain ([139.178.84.207]) by smtp.gmail.com with ESMTPSA id b1-20020a056808010100b003c5f54d014dsm701654oie.51.2024.04.12.13.06.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Apr 2024 13:06:29 -0700 (PDT) From: Christophe Lyon To: buildbot@sourceware.org Cc: Christophe Lyon Subject: [PATCH 0/6] autoregen.py: Improve support for GCC Date: Fri, 12 Apr 2024 20:05:53 +0000 Message-Id: <20240412200559.1649050-1-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: Hi, I looked into more details to improve autoregen.py's support for GCC. I noticed that autoreconf works well in most directories, so this patch series adds most GCC subdirs to AUTORECONF_DIRS. Following that, I noticed that quite a few more subdirs from binutils-gdb can also be regenerated using autoreconf, so add them to AUTORECONF_DIRS. In addition, add support for autogen, to regenerate the top-level Makefile.in. There are still some peculiarities with some subdirs, so there are probably some fixes to make in binutils, gdb and gcc. We can update this script when that is the case. Also, this script should probably be copied into contrib/ for the benefit of the projects. Christophe Lyon (6): auroregen.py: Check AC_CONFIG_MACRO_DIR instead of AC_CONFIG_MACRO_DIRS autoregen.py: Move comment... autoregen.py: Flush all print commands autoregen.py: Use autoreconf in most GCC directories autoregen.py: Add support for autogen autoregen.py: Add binutils directories to AUTORECONF_DIRS builder/containers/autoregen.py | 93 +++++++++++++++++++++++++++++++-- 1 file changed, 89 insertions(+), 4 deletions(-) -- 2.34.1