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 1kzyik-0003ij-6p for pgadmin-hackers@arkaria.postgresql.org; Thu, 14 Jan 2021 09:15:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kzyij-00066J-2v for pgadmin-hackers@arkaria.postgresql.org; Thu, 14 Jan 2021 09:15:09 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kzyii-00066C-UK for pgadmin-hackers@lists.postgresql.org; Thu, 14 Jan 2021 09:15:08 +0000 Received: from mail-ej1-x62c.google.com ([2a00:1450:4864:20::62c]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kzyiX-0003Lv-L9 for pgadmin-hackers@postgresql.org; Thu, 14 Jan 2021 09:15:07 +0000 Received: by mail-ej1-x62c.google.com with SMTP id f4so7108107ejx.7 for ; Thu, 14 Jan 2021 01:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q4uBafa+vEyH47eQJj9AE4YfjgvXC+vA9NygQ4BBUNc=; b=qdPeTMzUacF0lkvIwSZMOkTf/qUZ4qGH95Jq/AkdQ5/VgiUjbzdECESewxbWXIgqUC DwwRxnply7bjYiDYBMjWE6kltsCIlfi9Ig73C2W/yk44eZsZCOdoY0/8cB40/v3PlMe9 +bFOon/PhyzpDtfi/ep65I4C/onOCKq9is8NgQfZbtYsj0jrh2R+StkE+3ZANOFukl+V S6SLnbPB6czqQWAmKe+x5rb8moRpLJv8tkphlUdPmOWyM91T/pS5F28Vhz4jKIaEskgR C94Scw3RoTKMXGRj0u/sIwRlNB3LpmUMYkAvmBlCPoL4Yltmgyh2yIjQ5SQBV2cJgvAm 1yWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q4uBafa+vEyH47eQJj9AE4YfjgvXC+vA9NygQ4BBUNc=; b=YQa/BQI628NoyegSRXcb+xuSlVcq6lDl2PbcsLfmHomabHzHShzxpj6shEJ2pX0Dlq 0ivhbI72wkD96cD0nNdqZUa1ppnVv9TxtdvINtro6RLM+hkSpq+QGDyA+TAX2yEio4fY jh3+jJCUgi35doctVYHp5t5YBnmfXNH3s3Wjq8BM4UTVTxghvc3BNiXFZCisr6MfCEpD nRRqoJjqcPqzNiUw594toYqOoUgw3dZD/yGs0M2oFpthLf6Go7F2rCHnuQVbrWwPWKqG JxjZgqDMsy9znCNHmet1ayaLCO9cUJPzRuv9m1GGKq8S2Yj1p3LZWYIbf1TQzkdOl7TJ l6uw== X-Gm-Message-State: AOAM530ZEPTjMz18JRxdDf4HdV/c78S5NOsPX+ByZFgUnBCUWf1l89LE 6jEYCQNXG68AngrmuNYZDNhrEDJsrybUMJVD9u+Okr9aNGVXuT/K X-Google-Smtp-Source: ABdhPJw1VPNrn6ks3J9BJ9RRItqJrxeTxAUg2EPPUpCsS//VxSuZ1Nuhwhq3tyvN8Aq/6u6mzueWYk1CPGh2aqekmPE= X-Received: by 2002:a17:906:7cc:: with SMTP id m12mr3885881ejc.386.1610615694120; Thu, 14 Jan 2021 01:14:54 -0800 (PST) MIME-Version: 1.0 References: <3e6e541367894c4c95ac17f8050aad96@G08CNEXMBPEKD06.g08.fujitsu.local> In-Reply-To: <3e6e541367894c4c95ac17f8050aad96@G08CNEXMBPEKD06.g08.fujitsu.local> From: Dave Page Date: Thu, 14 Jan 2021 09:14:43 +0000 Message-ID: Subject: Re: Is there a mistake in line 22 of Make.bat? To: "Huang, Jun" Cc: "pgadmin-hackers@postgresql.org" Content-Type: multipart/alternative; boundary="0000000000005165fc05b8d8b06e" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --0000000000005165fc05b8d8b06e Content-Type: text/plain; charset="UTF-8" Hi On Thu, Jan 14, 2021 at 1:20 AM Huang, Jun wrote: > Hi, > > The following code is line 22 of Make.bat: > if "%Platform%" == "X86" ( > > I tried `echo %Platform%` in VS2017 x86 native Tools Command Prompt, the > result is "x86"(not "X86"). > If it's a mistake, the attached patch adds the changes. > Hmm, on the 32bit build VM I get this: C:\Program Files (x86)\Microsoft Visual C++ Build Tools>echo %Platform% X86 C:\Program Files (x86)\Microsoft Visual C++ Build Tools> Which explains why everything works in the production builds. Note that that system is VS 2015 though, but the 64 bit builds are VS 2017 iirc. Given that 32 bit Windows builds will be dropped soon, I'm inclined to leave this as-is for now. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EDB: http://www.enterprisedb.com --0000000000005165fc05b8d8b06e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Thu, Jan 14, 2021 at 1:20 AM Huang, = Jun <huangj.fnst@cn.fujits= u.com> wrote:
Hi,

The following code is line 22 of Make.bat:
=C2=A0 =C2=A0 =C2=A0 =C2=A0 if "%Platform%" =3D=3D "X86"= ; (

I tried `echo %Platform%` in VS2017 x86 native Tools Command Prompt, the re= sult is "x86"(not "X86").
If it's a mistake, the attached patch adds the changes.

Hmm, on the 32bit build VM I get this:

<= /div>
C:\Program Files (x86)\Microsoft Visual C++ Build Tools>echo %= Platform%
X86

C:\Program Files (x86)\Microsoft Visual C++ Build T= ools>

Which explains why everything works i= n the production builds. Note that that system is VS 2015 though, but the 6= 4 bit builds are VS 2017 iirc.

Given that 32 bit W= indows builds will be dropped soon, I'm inclined to leave this as-is fo= r now.
=C2=A0
--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @p= gsnake

EDB: http://www.enterprisedb.com

--0000000000005165fc05b8d8b06e--