Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1adKCE-0000JV-1C for pgsql-hackers@arkaria.postgresql.org; Tue, 08 Mar 2016 16:09:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1adKCD-00035S-Be for pgsql-hackers@arkaria.postgresql.org; Tue, 08 Mar 2016 16:09:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1adKAr-0001BU-NV for pgsql-hackers@postgresql.org; Tue, 08 Mar 2016 16:07:53 +0000 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1adKAo-0005cd-L3 for pgsql-hackers@postgresql.org; Tue, 08 Mar 2016 16:07:53 +0000 Received: from mfilter35-d.gandi.net (mfilter35-d.gandi.net [217.70.178.166]) by relay4-d.mail.gandi.net (Postfix) with ESMTP id 4A2431720F1; Tue, 8 Mar 2016 17:07:47 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mfilter35-d.gandi.net Received: from relay4-d.mail.gandi.net ([IPv6:::ffff:217.70.183.196]) by mfilter35-d.gandi.net (mfilter35-d.gandi.net [::ffff:10.0.15.180]) (amavisd-new, port 10024) with ESMTP id zLi68WAyHZoq; Tue, 8 Mar 2016 17:07:45 +0100 (CET) X-Originating-IP: 98.122.164.227 Received: from [192.168.10.146] (unknown [98.122.164.227]) (Authenticated sender: adsend@dunslane.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 7D9FA1720F0; Tue, 8 Mar 2016 17:07:20 +0100 (CET) Subject: Re: VS 2015 support in src/tools/msvc To: Tom Lane References: <56D871CE.8020709@dunslane.net> <56D8B8E3.5070708@2ndquadrant.com> <56DA6394.9040404@2ndquadrant.com> <15559.1457156815@sss.pgh.pa.us> <56DAEE74.3010604@dunslane.net> <56DB47A5.7040502@dunslane.net> <56DEEF92.4020507@dunslane.net> <9775.1457451803@sss.pgh.pa.us> Cc: Michael Paquier , Petr Jelinek , Magnus Hagander , PostgreSQL mailing lists From: Andrew Dunstan Message-ID: <56DEF8B6.8070205@dunslane.net> Date: Tue, 8 Mar 2016 11:07:18 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <9775.1457451803@sss.pgh.pa.us> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 03/08/2016 10:43 AM, Tom Lane wrote: > Andrew Dunstan writes: >> Do we already have a hard dependency on perl for all non-Windows builds? >> I know it's been discussed but I don't recall. If so, back to what version? > I think the policy is we require perl for building from a git pull, > but not for building from a tarball. Thus, any files that perl is used > to produce have to be shipped in tarballs. > > However, there definitely *is* a hard requirement on perl for Windows > builds, even from tarballs, and I thought this patch was only about > the Windows build? > > Michael's patch proposes to replace the use of sed to generate probes.h with the perl equivalent everywhere. That has the advantage that we keep to one script to generate probes.h, but it does impose a perl dependency. We could get around that by shipping probes.h in tarballs, which seems like a perfectly reasonable thing to do. If we don't like that we can fall back to using the perl script just for MSVC builds. cheers andrew -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers