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 1l27rN-0006Xz-R2 for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Jan 2021 07:24:57 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l27rM-0003ON-Hi for pgsql-bugs@arkaria.postgresql.org; Wed, 20 Jan 2021 07:24:56 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l27rM-0003OG-Bi for pgsql-bugs@lists.postgresql.org; Wed, 20 Jan 2021 07:24:56 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l27rK-0006ca-D1 for pgsql-bugs@lists.postgresql.org; Wed, 20 Jan 2021 07:24:55 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id DD8C75C0101; Wed, 20 Jan 2021 02:24:52 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Wed, 20 Jan 2021 02:24:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm3; bh=KsVaVc5scy3KVBCC6bHm/115fyp a5qUbUvorwMifAZM=; b=AeuoCgSX8tyO8U44wMzeHQyhvjcAFoNTdSXf16oXTsR aoGQ/39IUEcfJ8lSKByls8jimMdNqdOsRcfAWBbB/9aGoTbHeZX10atrtKCyjgD2 myQ/lJpIfcpBI4GHmG9FYfOCP4KOnbsSfNJQYofgA9eO44D3NTfUL2d438dc0avF UXIcrumj/WCpXI7MW+UZ4vqSPRvkq3BS6RcxSQXY06sjUz5fSIb0cC7EquiNvXhM ZFmilvZEEdIynmzDhkxfT+kCh5kEnj8w9Bn+45yTafpeF78w33VyWJu2q3tC4YJn LaJpBfAS7XjHfJsZhQtEL5whSAi6XQyTJxgTLu6YKYg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=KsVaVc 5scy3KVBCC6bHm/115fypa5qUbUvorwMifAZM=; b=hfLRqDZkrWl7CPD8jOqWGB ZhA2H8thdG6yirfN4Vv2P9XtxuaVh0YOjzDDDAFFt4fyh4A1e4CKLm8h4QVTzJjo hM9cL91dyx3ZoAI8397cVauR1YFqHbu4T/Nogattint1DuX9Pg4nYrnp4CNyzFzE UN8M/us1whNNrKQZOsohoKmf8BmmUSGcOF9RjELRAO+SmU6y2IIqG2NuVEnCzPuN bKaFFL7ndx2dbNnFejTZEM2cUNfdS3U+aIZ1bleENpaoA+wrv+mAb8I+ZVk8sK3K z/2Ks3IDuPQYjpVm69sfR6mdpKcPq7D/vG+fIRzIUbPzKxjwtdU66J/8r9MNYQUg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledruddugdduuddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt udenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpeevtdfgkeduudeuveetfeeggfej uddvtdetuefhleeuffeukeeihfejgfeigeduleenucfkphepudduuddruddtvddrudektd drudekheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhm pehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: from paquier.xyz (ee0822lan1.rev.em-net.ne.jp [111.102.180.185]) by mail.messagingengine.com (Postfix) with ESMTPA id 48FEE108005C; Wed, 20 Jan 2021 02:24:50 -0500 (EST) Date: Wed, 20 Jan 2021 16:24:47 +0900 From: Michael Paquier To: Juan =?iso-8859-1?Q?Jos=E9_Santamar=EDa?= Flecha Cc: robionekenobi@bluewin.ch, PostgreSQL mailing lists Subject: Re: BUG #16825: When building on Windows, cl /? retrun 'x64' not AMD64 and the build does not create x64 environment Message-ID: References: <16825-c4f104bcebc67034@postgresql.org> <000001d6ecfd$a5fde810$f1f9b830$@bluewin.ch> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="EHtrzLJaRD6sRWSO" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --EHtrzLJaRD6sRWSO Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 19, 2021 at 09:31:22AM +0100, Juan Jos=E9 Santamar=EDa Flecha w= rote: > The scripts assume that the 'msvc' folder is three levels deep, > 'src/tools/msvc'. If you respect that, you can build with the 'cl /help' > patch. Please find attached the patch for so. So, I have been playing with subst and some virtual drives, and this allows to run builds if for example pointing to the top of a git repo, which is fancy. Requiring at least three repository levels is something that we are going to need anyway as a build requires a full access to the tree, but I really see no reason to help users with such configurations as that's basically free for us to do so. I can see the difference of output between cl /? and /help for virtual drives, and that's really surprising, but I see no reason to not apply this patch as this breaks nothing and /help is an official option. If there are no objections, I am planning to apply this patch to HEAD. -- Michael --EHtrzLJaRD6sRWSO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmAH2r8ACgkQnvQgOdby QH2RVQ//SZU7loUZRQHVrZfyYgHC99swY2UtGtDHSEYi5aFpryAwvFHOzZ7P2Ug3 JudJTeBJGUsiFXOksMwSc4f/1M6qnwPeIKM/ROSy3P2tvSvo0X3R3fcoAnGvVmyL gGWGkJOoB9L3Njxi/Ysr6l9RiAj9MIKeFGxsUgPvnCINCM4Vzo+gjXg0pRBHCQvU u/8w7WIz4wm7TpBQ0VsIQnrFlPFa78ZMe8Zav9zvxhYgQITGq6vm2UJRciaeykQy D3aJnw2bmhN4jnoEG2i00Tx3XKpJ+XETpiWCWy95Qc3qU/P4TvqfTK7MR+XurUg9 eFd2umhrqXlIxSjM8GwEDoW9rxfc1FifIVq0zrY4lCREpqLMRA3evS1VVkfzqgK/ 1aWHoKWIOUrlyTHokjy41e7/SDn2qFgtbK+WxILMBoIPRjyHWlkbaeGz9yaJy4CF C75YHxFOyRpNqLwrTJg3xmMrE08ixV2N0jW6Wt+JmlPNwjglfIPur9iCvTSs/1+C Ovq/wna0X20yztUFq1kJksVy9jnZdKkpQ4vusVkvDp12a+Z84Ur9c564MPJbCnUI 2kcgWe0cKOW66tIydQig+Dvc7Czz4X3iITjA08NxusykCvX/p01ofrjJmXf68On7 lEKSbNtlSTFGwmSj7P0dafQsxrNGKTwnaa7jVL2RFqqGDwHmfU0= =NjsW -----END PGP SIGNATURE----- --EHtrzLJaRD6sRWSO--