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

Issue 2018293002: Enable WPO for the x64 Official builds. (Closed)

Created:
4 years, 6 months ago by Sébastien Marchand
Modified:
4 years, 6 months ago
CC:
chromium-reviews, chrisha, grt (UTC plus 2), jschuh
Base URL:
https://chromium.googlesource.com/chromium/src.git@4702
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Enable WPO for the x64 Official builds. BUG=490934 Committed: https://crrev.com/ffb89045a543e91c09f2cf2c168a823e7b943f27 Cr-Commit-Position: refs/heads/master@{#397460}

Patch Set 1 #

Patch Set 2 : Less LTCG warnings for GN #

Patch Set 3 : Disable WPO for mini_installer in GN. #

Patch Set 4 : Disable WPO for mini_installer in GN. #

Patch Set 5 : GN fix. #

Patch Set 6 : rebase #

Total comments: 6

Patch Set 7 : nit #

Patch Set 8 : Switch to using the optimize_no_wpo config. #

Patch Set 9 : Rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -9 lines) Patch
M build/common.gypi View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 4 5 1 chunk +3 lines, -0 lines 0 comments Download
M build/config/compiler/compiler.gni View 1 2 3 4 5 6 2 chunks +7 lines, -7 lines 0 comments Download
M chrome/installer/mini_installer/BUILD.gn View 1 2 3 4 5 6 7 1 chunk +4 lines, -1 line 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 27 (9 generated)
Sébastien Marchand
PTAL.
4 years, 6 months ago (2016-06-01 16:44:46 UTC) #4
Sébastien Marchand
+ some Chrome-Windows folks
4 years, 6 months ago (2016-06-01 16:54:24 UTC) #5
scottmg
lgtm
4 years, 6 months ago (2016-06-01 16:58:14 UTC) #6
brucedawson
lgtm
4 years, 6 months ago (2016-06-01 17:17:39 UTC) #7
Will Harris
I don't think you need my lgtm but you can have it anyway.
4 years, 6 months ago (2016-06-01 17:19:52 UTC) #8
grt (UTC plus 2)
https://codereview.chromium.org/2018293002/diff/100001/build/config/compiler/compiler.gni File build/config/compiler/compiler.gni (right): https://codereview.chromium.org/2018293002/diff/100001/build/config/compiler/compiler.gni#newcode33 build/config/compiler/compiler.gni:33: # Whether or not the official builds should be ...
4 years, 6 months ago (2016-06-01 18:46:59 UTC) #9
Sébastien Marchand
https://codereview.chromium.org/2018293002/diff/100001/build/config/compiler/compiler.gni File build/config/compiler/compiler.gni (right): https://codereview.chromium.org/2018293002/diff/100001/build/config/compiler/compiler.gni#newcode33 build/config/compiler/compiler.gni:33: # Whether or not the official builds should be ...
4 years, 6 months ago (2016-06-01 19:16:31 UTC) #10
brucedawson
> The alternative would be to depend on the 'optimize_no_wpo' config like we do in ...
4 years, 6 months ago (2016-06-01 19:25:22 UTC) #11
Sébastien Marchand
Alright, switched to the optimize_no_wpo config.
4 years, 6 months ago (2016-06-01 19:39:44 UTC) #12
grt (UTC plus 2)
lgtm
4 years, 6 months ago (2016-06-01 19:56:15 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2018293002/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2018293002/160001
4 years, 6 months ago (2016-06-02 17:40:46 UTC) #17
commit-bot: I haz the power
Committed patchset #9 (id:160001)
4 years, 6 months ago (2016-06-02 17:46:21 UTC) #19
commit-bot: I haz the power
Patchset 9 (id:??) landed as https://crrev.com/ffb89045a543e91c09f2cf2c168a823e7b943f27 Cr-Commit-Position: refs/heads/master@{#397460}
4 years, 6 months ago (2016-06-02 17:49:10 UTC) #21
Nico
this breaks clang-cl builds, "clang-cl.exe: error: argument unused during compilation: '/GL'" You need something like ...
4 years, 6 months ago (2016-06-02 19:32:52 UTC) #23
Sébastien Marchand
Fixing this right now.
4 years, 6 months ago (2016-06-02 19:38:01 UTC) #24
brucedawson
https://codereview.chromium.org/2018293002/diff/100001/chrome/installer/mini_installer/BUILD.gn File chrome/installer/mini_installer/BUILD.gn (right): https://codereview.chromium.org/2018293002/diff/100001/chrome/installer/mini_installer/BUILD.gn#newcode170 chrome/installer/mini_installer/BUILD.gn:170: "//build/config/compiler:default_optimization", Well, as sometimes happens the reviewers successfully convinced ...
4 years, 6 months ago (2016-06-03 00:47:53 UTC) #25
Sébastien Marchand
https://codereview.chromium.org/2018293002/diff/100001/chrome/installer/mini_installer/BUILD.gn File chrome/installer/mini_installer/BUILD.gn (right): https://codereview.chromium.org/2018293002/diff/100001/chrome/installer/mini_installer/BUILD.gn#newcode170 chrome/installer/mini_installer/BUILD.gn:170: "//build/config/compiler:default_optimization", On 2016/06/03 00:47:53, brucedawson wrote: > Well, as ...
4 years, 6 months ago (2016-06-03 01:13:18 UTC) #26
brucedawson
4 years, 6 months ago (2016-06-03 01:28:05 UTC) #27
Message was sent while issue was closed.
> I think that this will add too much complexity to our build system, I'd
suggest
> to simply put the '//build/config/compiler:optimize_no_wpo' config behind a
'if
> (!is_debug)' flag ? (in this file). This will be closer to what's being done
in
> the default_optimization config:
>
https://code.google.com/p/chromium/codesearch#chromium/src/build/config/compi...

Sounds good. Further discussion should be on a new bug or CL.

Powered by Google App Engine
This is Rietveld 408576698