pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Honor MSVC WindowsSDKVersion if set
11+ messages / 3 participants
[nested] [flat]

* pgsql: Honor MSVC WindowsSDKVersion if set
@ 2019-07-25 15:42 Andrew Dunstan <andrew@dunslane.net>
  2019-07-25 17:18 ` Re: pgsql: Honor MSVC WindowsSDKVersion if set Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 11+ messages in thread

From: Andrew Dunstan @ 2019-07-25 15:42 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Honor MSVC WindowsSDKVersion if set

Add a line to the project file setting the target SDK. Otherwise, in for
example VS2017, if the default but optional 8.1 SDK is not installed the
build will fail.

Patch from Peifeng Qiu, slightly edited by me.

Discussion: https://postgr.es/m/CABmtVJhw1boP_bd4=b3Qv5YnqEdL696NtHFi2ruiyQ6mFHkeQQ@mail.gmail.com

Backpatch to all live branches.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/20e99cdddbd3b55257827d621c2f9c592521cd4b

Modified Files
--------------
src/tools/msvc/MSBuildProject.pm | 13 +++++++++++++
1 file changed, 13 insertions(+)



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

* Re: pgsql: Honor MSVC WindowsSDKVersion if set
  2019-07-25 15:42 pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew@dunslane.net>
@ 2019-07-25 17:18 ` Tom Lane <tgl@sss.pgh.pa.us>
  2019-07-25 18:41   ` Re: pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
  2019-07-25 18:43   ` Re: pgsql: Honor MSVC WindowsSDKVersion if set Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 2 replies; 11+ messages in thread

From: Tom Lane @ 2019-07-25 17:18 UTC (permalink / raw)
  To: Andrew Dunstan <andrew@dunslane.net>; +Cc: pgsql-committers@lists.postgresql.org

Andrew Dunstan <andrew@dunslane.net> writes:
> Honor MSVC WindowsSDKVersion if set

Hmm, dory seems unhappy with this:

syntax error at C:\pgbuildfarm\pgbuildroot\HEAD\pgsql.build\src\tools\msvc/MSBuildProject.pm line 50, near ", =~"
BEGIN not safe after errors--compilation aborted at C:\pgbuildfarm\pgbuildroot\HEAD\pgsql.build\src\tools\msvc/MSBuildProject.pm line 414.
Compilation failed in require at C:\pgbuildfarm\pgbuildroot\HEAD\pgsql.build\src\tools\msvc/VSObjectFactory.pm line 16.
BEGIN failed--compilation aborted at C:\pgbuildfarm\pgbuildroot\HEAD\pgsql.build\src\tools\msvc/VSObjectFactory.pm line 16.
Compilation failed in require at C:\pgbuildfarm\pgbuildroot\HEAD\pgsql.build\src\tools\msvc/Solution.pm line 11.
BEGIN failed--compilation aborted at C:\pgbuildfarm\pgbuildroot\HEAD\pgsql.build\src\tools\msvc/Solution.pm line 11.
Compilation failed in require at C:\pgbuildfarm\pgbuildroot\HEAD\pgsql.build\src\tools\msvc/Mkvcbuild.pm line 13.
BEGIN failed--compilation aborted at C:\pgbuildfarm\pgbuildroot\HEAD\pgsql.build\src\tools\msvc/Mkvcbuild.pm line 13.
Compilation failed in require at build.pl line 13.
BEGIN failed--compilation aborted at build.pl line 13.


			regards, tom lane





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

* Re: pgsql: Honor MSVC WindowsSDKVersion if set
  2019-07-25 15:42 pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew@dunslane.net>
  2019-07-25 17:18 ` Re: pgsql: Honor MSVC WindowsSDKVersion if set Tom Lane <tgl@sss.pgh.pa.us>
@ 2019-07-25 18:41   ` Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
  1 sibling, 0 replies; 11+ messages in thread

From: Andrew Dunstan @ 2019-07-25 18:41 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; Andrew Dunstan <andrew@dunslane.net>; +Cc: pgsql-committers@lists.postgresql.org


On 7/25/19 1:18 PM, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> Honor MSVC WindowsSDKVersion if set
> Hmm, dory seems unhappy with this:
>
> syntax error at C:\pgbuildfarm\pgbuildroot\HEAD\pgsql.build\src\tools\msvc/MSBuildProject.pm line 50, near ", =~"
> BEGIN not safe after errors--compilation aborted at C:\pgbuildfarm\pgbuildroot\HEAD\pgsql.build\src\tools\msvc/MSBuildProject.pm line 414.
>
> 			


Sometimes my fingers don't do what my brain tells them.


Will fix.


cheers


andrew



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






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

* Re: pgsql: Honor MSVC WindowsSDKVersion if set
  2019-07-25 15:42 pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew@dunslane.net>
  2019-07-25 17:18 ` Re: pgsql: Honor MSVC WindowsSDKVersion if set Tom Lane <tgl@sss.pgh.pa.us>
@ 2019-07-25 18:43   ` Tom Lane <tgl@sss.pgh.pa.us>
  2019-07-25 18:46     ` Re: pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
  1 sibling, 1 reply; 11+ messages in thread

From: Tom Lane @ 2019-07-25 18:43 UTC (permalink / raw)
  To: Andrew Dunstan <andrew@dunslane.net>; +Cc: pgsql-committers@lists.postgresql.org

I wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
>> Honor MSVC WindowsSDKVersion if set

> Hmm, dory seems unhappy with this:

Looking closer, it seems to be just a stray comma, so I fixed that.

			regards, tom lane





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

* Re: pgsql: Honor MSVC WindowsSDKVersion if set
  2019-07-25 15:42 pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew@dunslane.net>
  2019-07-25 17:18 ` Re: pgsql: Honor MSVC WindowsSDKVersion if set Tom Lane <tgl@sss.pgh.pa.us>
  2019-07-25 18:43   ` Re: pgsql: Honor MSVC WindowsSDKVersion if set Tom Lane <tgl@sss.pgh.pa.us>
@ 2019-07-25 18:46     ` Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
  0 siblings, 0 replies; 11+ messages in thread

From: Andrew Dunstan @ 2019-07-25 18:46 UTC (permalink / raw)
  To: Tom Lane <tgl@sss.pgh.pa.us>; Andrew Dunstan <andrew@dunslane.net>; +Cc: pgsql-committers@lists.postgresql.org


On 7/25/19 2:43 PM, Tom Lane wrote:
> I wrote:
>> Andrew Dunstan <andrew@dunslane.net> writes:
>>> Honor MSVC WindowsSDKVersion if set
>> Hmm, dory seems unhappy with this:
> Looking closer, it seems to be just a stray comma, so I fixed that.
>
> 			



Thanks for fixing


cheers


andrew


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






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

* pgsql: Honor MSVC WindowsSDKVersion if set
@ 2019-07-25 15:42 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 11+ messages in thread

From: Andrew Dunstan @ 2019-07-25 15:42 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Honor MSVC WindowsSDKVersion if set

Add a line to the project file setting the target SDK. Otherwise, in for
example VS2017, if the default but optional 8.1 SDK is not installed the
build will fail.

Patch from Peifeng Qiu, slightly edited by me.

Discussion: https://postgr.es/m/CABmtVJhw1boP_bd4=b3Qv5YnqEdL696NtHFi2ruiyQ6mFHkeQQ@mail.gmail.com

Backpatch to all live branches.

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6e5417d7737bdcc26ca7889210f275a8e46591b0

Modified Files
--------------
src/tools/msvc/MSBuildProject.pm | 13 +++++++++++++
1 file changed, 13 insertions(+)



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

* pgsql: Honor MSVC WindowsSDKVersion if set
@ 2019-07-25 15:42 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 11+ messages in thread

From: Andrew Dunstan @ 2019-07-25 15:42 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Honor MSVC WindowsSDKVersion if set

Add a line to the project file setting the target SDK. Otherwise, in for
example VS2017, if the default but optional 8.1 SDK is not installed the
build will fail.

Patch from Peifeng Qiu, slightly edited by me.

Discussion: https://postgr.es/m/CABmtVJhw1boP_bd4=b3Qv5YnqEdL696NtHFi2ruiyQ6mFHkeQQ@mail.gmail.com

Backpatch to all live branches.

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/fe9e632846a1888b93699d08c7513b35fcce63fb

Modified Files
--------------
src/tools/msvc/MSBuildProject.pm | 13 +++++++++++++
1 file changed, 13 insertions(+)



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

* pgsql: Honor MSVC WindowsSDKVersion if set
@ 2019-07-25 15:42 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 11+ messages in thread

From: Andrew Dunstan @ 2019-07-25 15:42 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Honor MSVC WindowsSDKVersion if set

Add a line to the project file setting the target SDK. Otherwise, in for
example VS2017, if the default but optional 8.1 SDK is not installed the
build will fail.

Patch from Peifeng Qiu, slightly edited by me.

Discussion: https://postgr.es/m/CABmtVJhw1boP_bd4=b3Qv5YnqEdL696NtHFi2ruiyQ6mFHkeQQ@mail.gmail.com

Backpatch to all live branches.

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/165f4eecfeb71581c05f371f72eb99742cbae18c

Modified Files
--------------
src/tools/msvc/MSBuildProject.pm | 13 +++++++++++++
1 file changed, 13 insertions(+)



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

* pgsql: Honor MSVC WindowsSDKVersion if set
@ 2019-07-25 15:42 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 11+ messages in thread

From: Andrew Dunstan @ 2019-07-25 15:42 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Honor MSVC WindowsSDKVersion if set

Add a line to the project file setting the target SDK. Otherwise, in for
example VS2017, if the default but optional 8.1 SDK is not installed the
build will fail.

Patch from Peifeng Qiu, slightly edited by me.

Discussion: https://postgr.es/m/CABmtVJhw1boP_bd4=b3Qv5YnqEdL696NtHFi2ruiyQ6mFHkeQQ@mail.gmail.com

Backpatch to all live branches.

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/09fa171600b0f67fe32a913bda1f64f2407e6dfe

Modified Files
--------------
src/tools/msvc/MSBuildProject.pm | 13 +++++++++++++
1 file changed, 13 insertions(+)



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

* pgsql: Honor MSVC WindowsSDKVersion if set
@ 2019-07-25 15:42 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 11+ messages in thread

From: Andrew Dunstan @ 2019-07-25 15:42 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Honor MSVC WindowsSDKVersion if set

Add a line to the project file setting the target SDK. Otherwise, in for
example VS2017, if the default but optional 8.1 SDK is not installed the
build will fail.

Patch from Peifeng Qiu, slightly edited by me.

Discussion: https://postgr.es/m/CABmtVJhw1boP_bd4=b3Qv5YnqEdL696NtHFi2ruiyQ6mFHkeQQ@mail.gmail.com

Backpatch to all live branches.

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/4f435f78d536203555fbbb670f103a54f4fcbe11

Modified Files
--------------
src/tools/msvc/MSBuildProject.pm | 13 +++++++++++++
1 file changed, 13 insertions(+)



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

* pgsql: Honor MSVC WindowsSDKVersion if set
@ 2019-07-25 15:42 Andrew Dunstan <andrew@dunslane.net>
  0 siblings, 0 replies; 11+ messages in thread

From: Andrew Dunstan @ 2019-07-25 15:42 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Honor MSVC WindowsSDKVersion if set

Add a line to the project file setting the target SDK. Otherwise, in for
example VS2017, if the default but optional 8.1 SDK is not installed the
build will fail.

Patch from Peifeng Qiu, slightly edited by me.

Discussion: https://postgr.es/m/CABmtVJhw1boP_bd4=b3Qv5YnqEdL696NtHFi2ruiyQ6mFHkeQQ@mail.gmail.com

Backpatch to all live branches.

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/53fd0f04b87bf37288f65b5944ac30c64296a745

Modified Files
--------------
src/tools/msvc/MSBuildProject.pm | 13 +++++++++++++
1 file changed, 13 insertions(+)



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


end of thread, other threads:[~2019-07-25 18:46 UTC | newest]

Thread overview: 11+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2019-07-25 15:42 pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew@dunslane.net>
2019-07-25 17:18 ` Tom Lane <tgl@sss.pgh.pa.us>
2019-07-25 18:41   ` Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
2019-07-25 18:43   ` Tom Lane <tgl@sss.pgh.pa.us>
2019-07-25 18:46     ` Andrew Dunstan <andrew.dunstan@2ndquadrant.com>
2019-07-25 15:42 pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew@dunslane.net>
2019-07-25 15:42 pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew@dunslane.net>
2019-07-25 15:42 pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew@dunslane.net>
2019-07-25 15:42 pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew@dunslane.net>
2019-07-25 15:42 pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew@dunslane.net>
2019-07-25 15:42 pgsql: Honor MSVC WindowsSDKVersion if set Andrew Dunstan <andrew@dunslane.net>

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