doc: Windows building officially supported only on x64 hosts#21443
doc: Windows building officially supported only on x64 hosts#21443refack merged 1 commit intonodejs:masterfrom
Conversation
|
/CC @nodejs/platform-windows @nodejs/build |
BUILDING.md
Outdated
BUILDING.md
Outdated
There was a problem hiding this comment.
Unless this is supposed to imply that Visual Studio 2017 is not required on a non-x64 host, "on an x64 host" doesn't belong here.
There was a problem hiding this comment.
It's a proper product name.
There was a problem hiding this comment.
Visual Studio 2017 is a product name, why isn't it in quotes?
BUILDING.md
Outdated
BUILDING.md
Outdated
There was a problem hiding this comment.
It's a proper product name.
BUILDING.md
Outdated
There was a problem hiding this comment.
x86_x86 was a typo
x64_x86 is Microsoft designation for cross compiling x86 (32bit) target, on an x64(64bit) host.
calling: "C:\Program Files\VSCommunity2017\VC\\Auxiliary\Build\vcvarsall.bat" x86_x86
[ERROR:vcvarsall.bat] Invalid argument found : x86_x86
[ERROR:vcvarsall.bat] Error in script usage. The correct usage is:
Syntax:
vcvarsall.bat [arch] [platform_type] [winsdk_version] [-vcvars_ver=vc_version]
where :
[arch]: x86 | amd64 | x86_amd64 | x86_arm | x86_arm64 | amd64_x86 | amd64_arm | amd64_arm64
There was a problem hiding this comment.
"x64_x86" is a Microsoft-specific thing, it will confuse people. They expect the Architectures column to list the architecture on which Node runs, not how it's built.
There was a problem hiding this comment.
I also think this is confusing. IMHO we should keep this as it is, and add the note about x64 host.
bzoz
left a comment
There was a problem hiding this comment.
I'm -1 on x64_x86. IMHO we should put note about only support compilation on 64bit machines in the "Notes" column
|
@seishun @bzoz @mmarchini @jasnell PTAL. |
BUILDING.md
Outdated
There was a problem hiding this comment.
I should have been more explicit: please don't put product names in quotes.
There was a problem hiding this comment.
We actually don't test with the Build Tools package anymore. And we only use Windows SDK 10.
BUILDING.md
Outdated
BUILDING.md
Outdated
BUILDING.md
Outdated
There was a problem hiding this comment.
Node's -> Node.js's? (A bit awkward, but it seems we try to be consistent here.)
There was a problem hiding this comment.
How about Node's -> the
BUILDING.md
Outdated
There was a problem hiding this comment.
This is under "Supported Toolchains". There is no need to mention Windows 10 SDK or bitness here. The specific requirements are listed in a separate section. Why change this line at all?
There was a problem hiding this comment.
IMHO SDK and host bitness are parts of the toolchain 🤷♂️
I'm on vacation, so I can't review this. I'm dismissing my -1 to not block this
Notes look really good FWIW. |
mmarchini
left a comment
There was a problem hiding this comment.
Still LGTM. Nice job improving the notes!
2bc2c58 to
796d510
Compare
Since we are CI testing on x64 hosts, we can only commit to x64 hosts. PR-URL: nodejs#21443 Refs: nodejs#21402 Refs: nodejs#21437 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Matheus Marchini <matheus@sthima.com> Reviewed-By: João Reis <reis@janeasystems.com>
Since we are CI testing on x64 hosts, we can only commit to x64 hosts.
We could add x86_x86 and x86_x64 as
Experimental, to indicate willingness to accept community PRs.Ref: #21402
Ref: #21437
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes