Re: BUG #15889: PostgreSQL failed to build due to error MSB8020 withMSVC on windows - Mailing list pgsql-bugs

From Juan José Santamaría Flecha
Subject Re: BUG #15889: PostgreSQL failed to build due to error MSB8020 withMSVC on windows
Date
Msg-id CAC+AXB1Vjg5Po+bSttHNtVPs2eu-Y8dmn9iBmZbBFH9PGc0ErA@mail.gmail.com
Whole thread Raw
In response to Re: BUG #15889: PostgreSQL failed to build due to error MSB8020 withMSVC on windows  (Michael Paquier <michael@paquier.xyz>)
List pgsql-bugs
On Wed, Jul 10, 2019 at 2:51 PM Michael Paquier <michael@paquier.xyz> wrote:
>
> On Wed, Jul 10, 2019 at 07:53:51PM +1000, Haribabu Kommi wrote:
> > I agree that we can think of using MSBuild.exe instead of nmake. I am also
> > not sure whether MSBuild is available in all the visual studio versions
> > [1].
> >
> > [1] - https://en.wikipedia.org/wiki/MSBuild
>
> Well, we could consider switching to MSBuild.exe only on HEAD and v12,
> where we don't need to support the same range of VS versions.  That
> sounds like a rather safe bet, and I'd be rather fine to integrate
> that if it makes the build scripts more solid.

Instead of substituting an executable for another, maybe using an
environment variable from the vcvarsall script will make it more
straightforward.

Regards,

Juan José Santamaría Flecha



pgsql-bugs by date:

Previous
From: Manuel Rigger
Date:
Subject: ERROR: negative bitmapset member not allowed in SELECT
Next
From: Tom Lane
Date:
Subject: Re: ERROR: found unexpected null value in index