tools: bump vswhere helper to 2.0.0#14557
Conversation
97abb71 to
104cc4e
Compare
seishun
left a comment
There was a problem hiding this comment.
Switching between release and preview requires closing and re-opening cmd. Is that intended?
So that is a tricky one, since we short-circuit the call to |
|
@seishun what I could do is treat But I'm not sure 🤔 ... |
tniessen
left a comment
There was a problem hiding this comment.
I can't really test this locally as I am stuck to VS 2015 which does not have vswhere as far as I know, but the changes themselves LGTM. Hoping for some feedback from @nodejs/platform-windows who use VS 2017.
There was a problem hiding this comment.
Even though I don't think quotes are strictly necessary here, I would prefer consistency with line 8.
There was a problem hiding this comment.
I usually don't like adding stuff "just to be safe", but since I don't know exactly why or how this might break (but it probably will for someone), I added them.
There was a problem hiding this comment.
Actually I can't remember why I use the %Path% trick... But I do remember that "%InstallerPath%"\vswhere.exe doesn't work is some cases
Really? It takes less than a second for me. |
vcbuild.bat
Outdated
There was a problem hiding this comment.
Is this on purpose or leftover from debugging?
8020eb0 to
7b51cb1
Compare
with VS2017? it used to be 10s, but it keeps getting worse (maybe because I have 3 installation side by side) |
|
Updated to |
|
Ping @bzoz |
a101565 to
75fe971
Compare
|
LGTM if the CI is green. https://ci.nodejs.org/job/node-test-pull-request/9910/ |
|
Build failures look unrelated at https://ci.nodejs.org/job/node-test-commit-osx/12086//console (cc @nodejs/build ). New CI: https://ci.nodejs.org/job/node-test-pull-request/9911/console |
|
I guess the only thing that really matters here is if node-compile-windows is green. It is, tests also look OK, so LGTM. |
* enable explicit detection of prerelease VS versions with `set VSWHERE_WITH_PRERELEASE=1` PR-URL: nodejs#14557 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Bartosz Sosnowski <[email protected]>
75fe971 to
98d8db3
Compare
* enable explicit detection of prerelease VS versions with `set VSWHERE_WITH_PRERELEASE=1` PR-URL: nodejs/node#14557 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Bartosz Sosnowski <[email protected]>
* enable explicit detection of prerelease VS versions with `set VSWHERE_WITH_PRERELEASE=1` PR-URL: #14557 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Bartosz Sosnowski <[email protected]>
* enable explicit detection of prerelease VS versions with `set VSWHERE_WITH_PRERELEASE=1` PR-URL: #14557 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Bartosz Sosnowski <[email protected]>
|
Should this be backported to |
|
ping |
|
ping @refack |
|
No need as there's no VS2017 support on v6.x |
set VSWHERE_WITH_PRERELASE=1/cc @nodejs/platform-windows @nodejs/build
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
tools,build,windows