Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A87F0C43334 for ; Tue, 12 Jul 2022 21:39:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 330CE841E3; Tue, 12 Jul 2022 23:38:59 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=konsulko.com header.i=@konsulko.com header.b="KxRg/8Ju"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 90746841E6; Tue, 12 Jul 2022 23:38:57 +0200 (CEST) Received: from mail-qk1-x72b.google.com (mail-qk1-x72b.google.com [IPv6:2607:f8b0:4864:20::72b]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 049A6841DC for ; Tue, 12 Jul 2022 23:38:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=konsulko.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=trini@konsulko.com Received: by mail-qk1-x72b.google.com with SMTP id x17so7353199qkh.11 for ; Tue, 12 Jul 2022 14:38:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=konsulko.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=DjVxfXvDxSNxYERt5JwGSfYqHXVKN7jAAROQpfs76IA=; b=KxRg/8Ju2PKM64/QRO8a9JeF1hEq8pqUF/ehtbRlvFZ90hMgWAbr3PQQ8np8CHDN3q XUZas90dUGeNwq3ix8UDDRyUR275FBoSggB7LVgv19Q7DcM59JHnfUFxO7qqWYjSex7S j0i3thsHpb0EmvcpWg1U/2X93oEJFbEYGVvyk= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=DjVxfXvDxSNxYERt5JwGSfYqHXVKN7jAAROQpfs76IA=; b=gzop/rCWHVKVvPk2TDOw52dOLmCbR4ckkg+Ux0a9A0FVz/bUMUemIGPFSIhAxV6jwr fK+mjUz73yc9o+HME9lDxH1IuTz+xE1+92SKbP6sjUNxl+QmxePfSEw79q0NdFB1Csod rVhPWXmn9xm1XErCYpAmsLm8zdG6Ua3aKUkuaK4yOtD58HdP/UDZ7PABmOkNUXkpqr3d BL5Y4wSZHNmTXdi33kYhg6omMmQeHMT5CNPdVSVc5495EMPzWDu5pMracv7v60I7lYj1 WBchM/Fp+iCey75k74GMgXWRZuMBtzDVkMmk18+EM16iBsZ99d+dBNfwgKDJdPh4Gk0n DybA== X-Gm-Message-State: AJIora8Q0EATn8jTuUU7sEh3TvS7oNeffDiRbPH6Kr2llM+A2gVemAjq VkIpCnoEEMsdLdggWLevFAcXpeMScvXlcQ== X-Google-Smtp-Source: AGRyM1syAIZ0upQTwNCHvuyfE7drX9Uwq5fUOEt7xOrqo71gpJ181aR///N5bC/APHZb48vqYWUBZw== X-Received: by 2002:a37:464b:0:b0:6b5:77ee:c3a7 with SMTP id t72-20020a37464b000000b006b577eec3a7mr250939qka.83.1657661933790; Tue, 12 Jul 2022 14:38:53 -0700 (PDT) Received: from bill-the-cat (cpe-65-184-195-139.ec.res.rr.com. [65.184.195.139]) by smtp.gmail.com with ESMTPSA id x26-20020a05620a0b5a00b006b57ef4dd92sm7446648qkg.54.2022.07.12.14.38.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Jul 2022 14:38:53 -0700 (PDT) Date: Tue, 12 Jul 2022 17:38:51 -0400 From: Tom Rini To: Simon Glass Cc: U-Boot Mailing List Subject: Re: [PATCH 10/19] buildman: Incorporate the genboardscfg.py tool Message-ID: <20220712213851.GS1146598@bill-the-cat> References: <20220712010413.331984-1-sjg@chromium.org> <20220712010413.331984-11-sjg@chromium.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="iztHP09aG7Zyk7oq" Content-Disposition: inline In-Reply-To: <20220712010413.331984-11-sjg@chromium.org> X-Clacks-Overhead: GNU Terry Pratchett X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean --iztHP09aG7Zyk7oq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 11, 2022 at 07:04:04PM -0600, Simon Glass wrote: > Bring this tool into buildman, so we don't have to run it separately. The > board.cfg file is still produced as part of the build, to save time when > doing another build in the same working directory. If it is out of date > with respect to the Kconfig, it is updated. >=20 > Time to regenerate on a recent single-thread machine is 4.6s (1.3s on a > 32-thread machine), so we do need some sort of cache if we want buildman > to be useful on incremental builds. We could use Python's pickle format > but: >=20 > - it seems useful to allow boards.cfg to be regenerated, at least for a > while, in case other tools use it > - it is possible to grep the file easily, e.g. to find boards which use > a particular SoC (similar to 'buildman -nv ' While I don't think other tools still use boards.cfg, this will make it easier to find out that I'm wrong. Perhaps once the CONFIG to Kconfig migration is done we can move to just pickle'ing the data or similar since I find the main use of what was in boards.cfg can be figured out with some other git grep'ing, and in turn that's mainly for me when trying to convert stuff. Thanks for doing this. --=20 Tom --iztHP09aG7Zyk7oq Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQGzBAABCgAdFiEEGjx/cOCPqxcHgJu/FHw5/5Y0tywFAmLN6egACgkQFHw5/5Y0 tywlQAwAsutL8tVi79/oSma1e5a0BB28GFdC2Nt1395v7bDwzg9UPkeyPIRLFyAs lqB2wnUwpQgDltAp33Gin+lLYKAU40g/KlDmfXQ1o5D0QRmD5sb2iE1OpzhXy/iV u0unkdPFg5TovlBtgGxYLGLqUudQGVz4pRhVhMQteg1F+HvIuRkk5n7Sn8nr4nfw xTzV5PKPCLb3ZCdumrbnMB6AkjMIXxsaLvSP/kQwBO507ZzDU4SD4Ki4CMRMxQpd Mq3lZn1dDpbpkgqmFrbb023j3NB6lXLEbnd8LuOgLXEyC9gMAZBOG2YCL8ABL2/i 7dt4hJxr/iNHRYB9D8ArWdwwPEFCXZnDwnlgz5oaskxmHIBHUm04toc4kYUr5tRa y50ovZdXjCB1/mzGc0vy7oZ+NDCSPnmEg+y01GcIl0dlyXgUYnAOEQ3D08hjXDLW FGMRW1QiS9xE+UmMDlpUTzvTWu00kiQ37STojMjFtQD+rvn/LI/AWGA801sZxhDS RGKCtAxy =qN13 -----END PGP SIGNATURE----- --iztHP09aG7Zyk7oq--