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 1nGl05-0003ur-HT for pgsql-hackers@arkaria.postgresql.org; Sun, 06 Feb 2022 17:06:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1nGl03-0004GO-2Y for pgsql-hackers@arkaria.postgresql.org; Sun, 06 Feb 2022 17:06:55 +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 1nGl02-0004GF-Pn for pgsql-hackers@lists.postgresql.org; Sun, 06 Feb 2022 17:06:54 +0000 Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nGkzv-0004ft-DO for pgsql-hackers@postgresql.org; Sun, 06 Feb 2022 17:06:54 +0000 Received: (Authenticated sender: adsend@dunslane.net) by mail.gandi.net (Postfix) with ESMTPSA id 1FE671BF204; Sun, 6 Feb 2022 17:06:42 +0000 (UTC) Content-Type: multipart/mixed; boundary="------------2amFY1dAS0YpkPTtPPzJDuCv" Message-ID: <3ccde7a9-e4f9-e194-30e0-0936e6ad68ba@dunslane.net> Date: Sun, 6 Feb 2022 12:06:41 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [RFC] building postgres with meson Content-Language: en-US From: Andrew Dunstan To: Andres Freund Cc: pgsql-hackers@postgresql.org References: <20211012165926.phrxn7vwx6ysfioj@alap3.anarazel.de> <20211012180934.b22v5nznbgtaoxyn@alap3.anarazel.de> <20211012192942.5chfraeix6qih6ke@alap3.anarazel.de> <1def3634-8d7d-a501-3caa-83e2f952418d@dunslane.net> <20211012204256.ie2l7j6unbbtioj5@alap3.anarazel.de> <20211013010304.ox6nssy3eyptbdhc@alap3.anarazel.de> <20211013172654.mjtiwpezmczk6ppy@alap3.anarazel.de> <20d4fa3a-e0f1-0ac4-1657-0698ee1c511f@dunslane.net> In-Reply-To: <20d4fa3a-e0f1-0ac4-1657-0698ee1c511f@dunslane.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk This is a multi-part message in MIME format. --------------2amFY1dAS0YpkPTtPPzJDuCv Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 10/13/21 16:06, Andrew Dunstan wrote: > On 10/13/21 1:26 PM, Andres Freund wrote: >>> pexports will be in the resulting path, and the build will use the >>> native compiler. >> I don't see pexports anywhere in the msys installation. I can see it available >> on sourceforge, and I see a few others asking where to get it from in the >> context of msys, and being pointed to manually downloading it. > > > Weird. fairywren has it, which means that it must have been removed from > the packages at some stage, fairly recently as fairywren isn't that old. > I just confirmed the absence on a 100% fresh install. > > > It is in Strawberry's c/bin directory. > > >> Seems like we should consider using gendef instead of pexports, given it's >> available in msys? > > Yeah. It's missing on my ancient msys animal (frogmouth), but it doesn't > build --with-perl. > > > jacana seems to have it. > > > If you prep a patch I'll test it. > > Here's a patch. I've tested the perl piece on master and it works fine. It applies cleanly down to 9.4, which is before we got transform modules (9.5) which fail if we just omit doing this platform-specific piece. Before that only plpython uses pexports, and we're not committed to supporting plpython at all on old branches. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com --------------2amFY1dAS0YpkPTtPPzJDuCv Content-Type: text/x-patch; charset=UTF-8; name="gendef.patch" Content-Disposition: attachment; filename="gendef.patch" Content-Transfer-Encoding: base64 Y29tbWl0IDgyM2IzNmQ5OGIKQXV0aG9yOiBBbmRyZXcgRHVuc3RhbiA8YW5kcmV3QGR1bnNs YW5lLm5ldD4KRGF0ZTogICBTdW4gRmViI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