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 1maHs5-0003Ds-O5 for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Oct 2021 13:31:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1maHs3-0007lQ-NS for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Oct 2021 13:31:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maHs2-0007lI-LU for pgsql-hackers@lists.postgresql.org; Tue, 12 Oct 2021 13:31:07 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maHrw-0005VC-Pn for pgsql-hackers@postgresql.org; Tue, 12 Oct 2021 13:31:05 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 686B03201D26; Tue, 12 Oct 2021 09:30:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Tue, 12 Oct 2021 09:30:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=kG6sUssJKHPZqO5RroUtuaQhXWXMoc11+b8eV2T2x Lc=; b=mkvuEMUkclg5dlrPdwmSusctybZO1y8rFapKqStwtLlGQXizMDruKdC98 sRf7E3I371E/vrK+9tSMWxl1iKM9BFOL//jXU44xsWWIO36hphi99eNFkXNI9axU OWbet1KC8vmVjX6XIa9VkMUTqqoJpfJI+eF1F2FrnKxjzZxRaBL4V/lyLrVIIZW7 DPm4OHYNi8NVSDoSzboHCsZGf0eqYJYYF4CotlEeoqjjIpQ6PoBtcblaElRGuW/0 3Tmr2GiGYkf+gwFtZixPGn42o16LP8Xcbx4RcoaYQfOXIimTgYF+Tk1fD6P4ipcx bPqwX5wPbY5kVnCJJ2TIGw40KPMZw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrvddtkedgiedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefheenucfhrhhomheprfgvthgv rhcugfhishgvnhhtrhgruhhtuceophgvthgvrhdrvghishgvnhhtrhgruhhtsegvnhhtvg hrphhrihhsvggusgdrtghomheqnecuggftrfgrthhtvghrnhephfefleefueevuddvffeh jedtjeejgfelhfdtvdffheeludetudegfeeftdffffejnecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhdrvghishgvnhhtrhgruhht segvnhhtvghrphhrihhsvggusgdrtghomh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 12 Oct 2021 09:30:58 -0400 (EDT) Subject: Re: [RFC] building postgres with meson To: Andres Freund , pgsql-hackers@postgresql.org References: <20211012083721.hvixq4pnh2pixr3j@alap3.anarazel.de> From: Peter Eisentraut Message-ID: Date: Tue, 12 Oct 2021 15:30:57 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 In-Reply-To: <20211012083721.hvixq4pnh2pixr3j@alap3.anarazel.de> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 12.10.21 10:37, Andres Freund wrote: > For the last year or so I've on and off tinkered with $subject. I think > it's in a state worth sharing now. First, let's look at a little > comparison. I played with $subject a few years ago and liked it. I think, like you said, meson is the best way forward. I support this project. One problem I noticed back then was that some choices that we currently determine ourselves in configure or the makefiles are hardcoded in meson. For example, at the time, gcc on macOS was not supported. Meson thought, if you are on macOS, you are surely using the Apple compiler, and it supports these options. Fixing that required patches deep in the bowels of the meson source code (and, in practice, waiting for a new release etc.). I strongly suspect this isn't the only such problem. For example, the shared library build behavior has been carefully tuned in opinionated ways. With the autotools chain, one can override anything with enough violence; so we have always felt free to do that. I haven't followed it in a while, so I don't know what the situation is now; but it is a concern, because we have always felt free to try new and unusual build tools (Sun compiler, Intel compiler, clang-when-it-was-new) early without waiting for anyone else.