Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oB24H-0007y1-M1 for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Jul 2022 22:39:53 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oB24G-0004MF-Dj for pgsql-hackers@arkaria.postgresql.org; Mon, 11 Jul 2022 22:39:52 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oB24G-0004M6-4s for pgsql-hackers@lists.postgresql.org; Mon, 11 Jul 2022 22:39:52 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oB24D-0002Jh-Kr for pgsql-hackers@postgresql.org; Mon, 11 Jul 2022 22:39:51 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 26BMdi2s1282698; Mon, 11 Jul 2022 18:39:45 -0400 From: Tom Lane To: Andres Freund cc: Robert Haas , Peter Eisentraut , David Rowley , pgsql-hackers Subject: Re: automatically generating node support functions In-reply-to: <20220711222758.3bdgprqvvjwndn7k@awork3.anarazel.de> References: <815831.1657494597@sss.pgh.pa.us> <45f508cb-e30b-c252-e081-4548deafa34c@enterprisedb.com> <1116889.1657553859@sss.pgh.pa.us> <1201553.1657562258@sss.pgh.pa.us> <1229446.1657569262@sss.pgh.pa.us> <20220711201755.x5hmdailt63z2xo2@awork3.anarazel.de> <1239476.1657571885@sss.pgh.pa.us> <20220711213755.gwcysmuypke3wckg@awork3.anarazel.de> <1261926.1657577355@sss.pgh.pa.us> <20220711222758.3bdgprqvvjwndn7k@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Mon, 11 Jul 2022 15:27:58 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1282696.1657579184.1@sss.pgh.pa.us> Date: Mon, 11 Jul 2022 18:39:44 -0400 Message-ID: <1282697.1657579184@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > I'm not entirely sure how well either the existing or the sketch above works > when doing a VPATH build using tarball sources, and updating the files. Seems like an awful lot of effort to avoid having multiple copies of the file list. I think we should just do what I sketched earlier, ie put the master list into gen_node_support.pl and have it cross-check that against its command line. If the meson system can avoid having its own copy of the list, great; but I don't feel like we have to make that happen for the makefiles or Solution.pm. regards, tom lane