Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(101)

Issue 2904733004: Switch VS 2017 builds to VS 2017 Update 3 Preview 1 (Closed)

Created:
3 years, 7 months ago by brucedawson
Modified:
3 years, 6 months ago
Reviewers:
scottmg
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Switch VS 2017 builds to VS 2017 Update 3 Preview 1 This change switches the VS 2017 package to use the first Update 3 Preview. Packaging was done on a Windows Server 2016 VM, cleanly created for this purpose. Compiler was packaged up by downloading the VS 2017 Update 3 Preview 1, from https://www.visualstudio.com/vs/preview/, and then running this command (executable name was different): vs_professional.exe --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Component.VC.ATLMFC --includeRecommended --passive Then the Windows 10.0.14393.0 SDK (10.0.14393.795, to be precise) was installed, necessary because Chrome currently requires that SDK. This also installs the x86 and x64 debuggers. Then statreg.h in the VS install was patched to add constexpr for clang-cl (but not for VC++, which can't handle it), per this bug: https://developercommunity.visualstudio.com/content/problem/58907/statregh-doesnt-compile-with-clang-cl-constconstex.html The patched version is attached to this bug comment: https://bugs.chromium.org/p/chromium/issues/detail?id=683729#c113 Finally the packaging script (updated in https://chromium-review.googlesource.com/516442) was run: python depot_tools\win_toolchain\package_from_installed.py 2017 -w 10.0.14393.0 VS 2015 builds are still the default. R=scottmg@chromium.org BUG=683729 Review-Url: https://codereview.chromium.org/2904733004 Cr-Commit-Position: refs/heads/master@{#475088} Committed: https://chromium.googlesource.com/chromium/src/+/bc58befabe87e204650c836793204bac887992bd

Patch Set 1 #

Patch Set 2 : Switch default to VS 2017 #

Patch Set 3 : Patched statreg.h for clang-cl #

Patch Set 4 : Disable code-gen-failing tests for VS 2017 Update 3 Preview 1 also #

Patch Set 5 : Fix to correct hash for fixed statreg.h #

Patch Set 6 : More fixed statreg.h #

Patch Set 7 : Restore default compiler to 2015 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M build/vs_toolchain.py View 1 2 3 4 5 6 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 37 (30 generated)
brucedawson
I repackaged VS 2017 - this time VS 2017 Update 3 Preview 1. After updating ...
3 years, 7 months ago (2017-05-26 17:45:02 UTC) #28
scottmg
Whew! lgtm
3 years, 7 months ago (2017-05-26 17:55:19 UTC) #29
brucedawson
On 2017/05/26 17:55:19, scottmg wrote: > Whew! lgtm I look forward to much simpler packaging ...
3 years, 7 months ago (2017-05-26 17:58:22 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2904733004/110001
3 years, 7 months ago (2017-05-26 17:58:59 UTC) #32
commit-bot: I haz the power
Committed patchset #7 (id:110001) as https://chromium.googlesource.com/chromium/src/+/bc58befabe87e204650c836793204bac887992bd
3 years, 7 months ago (2017-05-26 19:35:17 UTC) #35
scottmg
(I noticed the package for RTM vs Update3 went from 766M to 844M, seems a ...
3 years, 6 months ago (2017-05-26 22:16:22 UTC) #36
brucedawson
3 years, 6 months ago (2017-05-26 22:47:32 UTC) #37
Message was sent while issue was closed.
On 2017/05/26 22:16:22, scottmg wrote:
> (I noticed the package for RTM vs Update3 went from 766M to 844M, seems a bit
> surprising? Not important, just curious if you happen to know off hand if
> something got added.)

I looked with windirstat and that showed a 100 MB increased in the total size of
DLLs (plus general growth everywhere else).

That turns out to be caused primarily by this directory that appeared even
though I packaged the 10.0.14393.0 SDK:

    win_sdk\bin\10.0.15063.0

So yeah, that's a bug in the packaging script. There are a few other 15063
directories that got pulled in. I might try adding better filtering. On the
other hand, the issue will go away once we start packaging with 15063 - there
won't be an "other" SDK to pull in.

Anyway, good observation.

Powered by Google App Engine
This is Rietveld 408576698