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

Issue 2160353003: Implement multi-phase build support in MB. (Closed)

Created:
4 years, 5 months ago by Dirk Pranke
Modified:
4 years ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement multi-phase build support in MB. The PGO builders need to run multiple compiles in a single build, each with different arguments. This was not previously possible with MB, but this CL adds support for specifying a list of configs per builder, and adds a --phase command line arg to indicate which phase of the build should be generated. It is an error to specify --phase on a builder that isn't expected to have multiple phases. Also phases are 1-based (phase 1, phase 2, etc.). Also, this CL cleans up some TODOs that I no longer plan to fix. R=sebmarchand@chromium.org BUG=595947 Committed: https://crrev.com/b9380a1bd84d8be46835457a9d2a9c004d02e344 Cr-Commit-Position: refs/heads/master@{#406955}

Patch Set 1 : for initial review #

Patch Set 2 : merge #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+155 lines, -52 lines) Patch
M tools/mb/docs/design_spec.md View 2 chunks +1 line, -14 lines 0 comments Download
M tools/mb/docs/user_guide.md View 3 chunks +13 lines, -6 lines 0 comments Download
M tools/mb/mb.py View 7 chunks +29 lines, -14 lines 0 comments Download
M tools/mb/mb_config.pyl View 1 5 chunks +42 lines, -11 lines 0 comments Download
M tools/mb/mb_unittest.py View 4 chunks +70 lines, -7 lines 2 comments Download

Messages

Total messages: 18 (9 generated)
Dirk Pranke
4 years, 5 months ago (2016-07-19 23:30:35 UTC) #3
Sébastien Marchand
Nice, lgtm ! Thanks !
4 years, 5 months ago (2016-07-20 12:18:13 UTC) #4
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/2160353003/20001
4 years, 5 months ago (2016-07-21 20:02:22 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/99868) android_clang_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, ...
4 years, 5 months ago (2016-07-21 20:05:07 UTC) #8
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/2160353003/40001
4 years, 5 months ago (2016-07-21 20:51:14 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 5 months ago (2016-07-21 21:44:38 UTC) #13
commit-bot: I haz the power
Patchset 2 (id:??) landed as https://crrev.com/b9380a1bd84d8be46835457a9d2a9c004d02e344 Cr-Commit-Position: refs/heads/master@{#406955}
4 years, 5 months ago (2016-07-21 21:46:08 UTC) #15
kjellander_chromium
I think I found an error here (when I was looking at our copy). https://codereview.chromium.org/2160353003/diff/40001/tools/mb/mb_unittest.py ...
4 years ago (2016-12-17 20:55:13 UTC) #17
Dirk Pranke
4 years ago (2016-12-18 02:39:46 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/2160353003/diff/40001/tools/mb/mb_unittest.py
File tools/mb/mb_unittest.py (right):

https://codereview.chromium.org/2160353003/diff/40001/tools/mb/mb_unittest.py...
tools/mb/mb_unittest.py:535: 
On 2016/12/17 20:55:13, kjellander_chromium wrote:
> What happened here at line 535-557? It seems like a copy-paste error since the
> tests are identical and there are two copies of:
> if __name__ == '__main__':
>   unittest.main()

Whoops. Looks like you're right :).

Powered by Google App Engine
This is Rietveld 408576698