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 1maK2g-00078y-SV for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Oct 2021 15:50:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1maK2f-0000Js-Rx for pgsql-hackers@arkaria.postgresql.org; Tue, 12 Oct 2021 15:50:13 +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 1maK2f-0000Jb-K8 for pgsql-hackers@lists.postgresql.org; Tue, 12 Oct 2021 15:50:13 +0000 Received: from relay10.mail.gandi.net ([217.70.178.230]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1maK2Y-0004E7-Lx for pgsql-hackers@postgresql.org; Tue, 12 Oct 2021 15:50:12 +0000 Received: (Authenticated sender: adsend@dunslane.net) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 099B3240011; Tue, 12 Oct 2021 15:50:04 +0000 (UTC) Subject: Re: [RFC] building postgres with meson From: Andrew Dunstan To: Andres Freund , pgsql-hackers@postgresql.org References: <20211012083721.hvixq4pnh2pixr3j@alap3.anarazel.de> Message-ID: Date: Tue, 12 Oct 2021 11:50:03 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 10/12/21 11:28 AM, Andrew Dunstan wrote: > On 10/12/21 4:37 AM, Andres Freund wrote: >> # setup build directory >> meson setup build --buildtype debug > I took this for an outing on msys2 and it just seems to hang. If it's not hanging it's unbelievably slow. > > It hung because it expected the compiler to be 'ccache cc'. Hanging in such a case is kinda unforgivable. I remedied that by setting 'CC=gcc' but it then errored out looking for perl libs. I think msys2 is going to be a bit difficult here :-( cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com