pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Allow running src/tools/msvc/mkvcbuild.pl under not Windows
2+ messages / 2 participants
[nested] [flat]

* pgsql: Allow running src/tools/msvc/mkvcbuild.pl under not Windows
@ 2020-02-21 19:58  Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 1 reply; 2+ messages in thread

From: Peter Eisentraut @ 2020-02-21 19:58 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Allow running src/tools/msvc/mkvcbuild.pl under not Windows

This to allow verifying the MSVC build file generation without having
to have Windows.

To do this, we avoid Windows-specific Perl modules and don't run the
"cl" compiler or "nmake".  The resulting build files won't actually be
completely correct, but it's useful enough.

Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/d73b2c7b-f081-8357-8422-7564d55f1aac%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/73c8596488fd5fd619991f56dae5d22f551b06d9

Modified Files
--------------
src/tools/msvc/Mkvcbuild.pm       |  6 ++++--
src/tools/msvc/Project.pm         |  2 +-
src/tools/msvc/Solution.pm        | 17 ++++++++++++-----
src/tools/msvc/VSObjectFactory.pm | 31 +++++++++++++++++++------------
4 files changed, 36 insertions(+), 20 deletions(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pgsql: Allow running src/tools/msvc/mkvcbuild.pl under not Windows
@ 2020-02-24 16:59  Alvaro Herrera <alvherre@2ndquadrant.com>
  parent: Peter Eisentraut <peter@eisentraut.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Alvaro Herrera @ 2020-02-24 16:59 UTC (permalink / raw)
  To: Peter Eisentraut <peter@eisentraut.org>; +Cc: pgsql-hackers@lists.postgresql.org

On 2020-Feb-21, Peter Eisentraut wrote:

> Allow running src/tools/msvc/mkvcbuild.pl under not Windows
> 
> This to allow verifying the MSVC build file generation without having
> to have Windows.

I suggest that src/tools/msvc/README should indicate how to use this; I
don't think it's completely obvious.

Thanks,

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2020-02-24 16:59 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 19:58 pgsql: Allow running src/tools/msvc/mkvcbuild.pl under not Windows Peter Eisentraut <peter@eisentraut.org>
2020-02-24 16:59 ` Alvaro Herrera <alvherre@2ndquadrant.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox