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

Issue 228903003: Set use_goma=1 and gomadir=path in GYP_DEFINES on master. (Closed)

Created:
6 years, 8 months ago by Nico
Modified:
6 years, 8 months ago
Reviewers:
iannucci, Sam Clegg
CC:
chromium-reviews, cmp-cc_chromium.org, kjellander+cc_chromium.org, ukai
Visibility:
Public.

Description

Set use_goma=1 and gomadir=path in GYP_DEFINES on master. That way, the bots will use goma the same way developers do. It's also what recipes and the android buildbot already use. Once all masters were restarted with this change, scripts/slave/compile.py can be simplified. Eventually, --compiler=goma-clang can go away, since --compiler=goma and GYP_DEFINES=clang=1 should do the right thing after this change. BUG=332697 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=263959

Patch Set 1 #

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Patch Set 4 : #

Total comments: 4

Patch Set 5 : #

Total comments: 6

Patch Set 6 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -17 lines) Patch
M build/scripts/master/factory/commands.py View 1 2 3 4 chunks +10 lines, -2 lines 0 comments Download
M build/scripts/master/factory/gclient_factory.py View 1 2 3 6 chunks +6 lines, -9 lines 0 comments Download
M build/scripts/slave/compile.py View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
A build/scripts/slave/runhooks_wrapper.py View 1 2 3 4 5 1 chunk +49 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
Nico
Here's a slightly different take on https://codereview.chromium.org/142373002/ . It uses the fact that goma is ...
6 years, 8 months ago (2014-04-08 20:20:45 UTC) #1
iannucci
https://codereview.chromium.org/228903003/diff/20001/build/scripts/master/factory/chromium_factory.py File build/scripts/master/factory/chromium_factory.py (right): https://codereview.chromium.org/228903003/diff/20001/build/scripts/master/factory/chromium_factory.py#newcode99 build/scripts/master/factory/chromium_factory.py:99: gomadir = '/b/build/goma' !!!!!! :( This terrifies me (and ...
6 years, 8 months ago (2014-04-08 20:45:50 UTC) #2
Nico
https://codereview.chromium.org/228903003/diff/20001/build/scripts/master/factory/chromium_factory.py File build/scripts/master/factory/chromium_factory.py (right): https://codereview.chromium.org/228903003/diff/20001/build/scripts/master/factory/chromium_factory.py#newcode99 build/scripts/master/factory/chromium_factory.py:99: gomadir = '/b/build/goma' On 2014/04/08 20:45:50, iannucci wrote: > ...
6 years, 8 months ago (2014-04-08 20:51:09 UTC) #3
iannucci
On 2014/04/08 20:51:09, Nico wrote: > https://codereview.chromium.org/228903003/diff/20001/build/scripts/master/factory/chromium_factory.py > File build/scripts/master/factory/chromium_factory.py (right): > > https://codereview.chromium.org/228903003/diff/20001/build/scripts/master/factory/chromium_factory.py#newcode99 > ...
6 years, 8 months ago (2014-04-08 20:54:04 UTC) #4
Nico
On Tue, Apr 8, 2014 at 1:54 PM, <iannucci@chromium.org> wrote: > On 2014/04/08 20:51:09, Nico ...
6 years, 8 months ago (2014-04-08 20:58:09 UTC) #5
iannucci
On 2014/04/08 20:58:09, Nico wrote: > On Tue, Apr 8, 2014 at 1:54 PM, <mailto:iannucci@chromium.org> ...
6 years, 8 months ago (2014-04-08 22:25:37 UTC) #6
Nico
Ok, I changed this to use a wrapper script for runhooks, so that the goma ...
6 years, 8 months ago (2014-04-15 18:10:28 UTC) #7
Sam Clegg
I'd love to see this land so that the ARM cross builder can start using ...
6 years, 8 months ago (2014-04-15 18:23:13 UTC) #8
Nico
https://codereview.chromium.org/228903003/diff/50001/build/scripts/slave/runhooks_wrapper.py File build/scripts/slave/runhooks_wrapper.py (right): https://codereview.chromium.org/228903003/diff/50001/build/scripts/slave/runhooks_wrapper.py#newcode27 build/scripts/slave/runhooks_wrapper.py:27: parser = optparse.OptionParser() On 2014/04/15 18:23:14, Sam Clegg wrote: ...
6 years, 8 months ago (2014-04-15 18:30:40 UTC) #9
iannucci
Thanks for doing this... sorry for being a pain in the ass about it :) ...
6 years, 8 months ago (2014-04-15 18:45:29 UTC) #10
Nico
https://codereview.chromium.org/228903003/diff/70001/build/scripts/slave/runhooks_wrapper.py File build/scripts/slave/runhooks_wrapper.py (right): https://codereview.chromium.org/228903003/diff/70001/build/scripts/slave/runhooks_wrapper.py#newcode23 build/scripts/slave/runhooks_wrapper.py:23: BUILD_DIR = os.path.dirname(os.path.dirname(SLAVE_SCRIPTS_DIR)) On 2014/04/15 18:45:29, iannucci wrote: > ...
6 years, 8 months ago (2014-04-15 18:56:42 UTC) #11
iannucci
lgtm thanks
6 years, 8 months ago (2014-04-15 19:00:36 UTC) #12
Nico
The CQ bit was checked by thakis@chromium.org
6 years, 8 months ago (2014-04-15 19:02:14 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/thakis@chromium.org/228903003/90001
6 years, 8 months ago (2014-04-15 19:02:29 UTC) #14
commit-bot: I haz the power
Change committed as 263959
6 years, 8 months ago (2014-04-15 19:04:02 UTC) #15
Nico
Apparently Windows doesn't like the subprocess thing: http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Win%20Ninja%20Goma%20%28shared%29/builds/27608/steps/runhooks/logs/stdio gclient runhooks Traceback (most recent call last): ...
6 years, 8 months ago (2014-04-15 19:27:04 UTC) #16
Nico
Hm, maybe https://codereview.chromium.org/239153006 will help. On Tue, Apr 15, 2014 at 12:27 PM, Nico Weber ...
6 years, 8 months ago (2014-04-15 19:46:20 UTC) #17
Nico
6 years, 8 months ago (2014-04-15 19:54:42 UTC) #18
Looks like that did it.


On Tue, Apr 15, 2014 at 12:46 PM, Nico Weber <thakis@chromium.org> wrote:

> Hm, maybe https://codereview.chromium.org/239153006 will help.
>
>
> On Tue, Apr 15, 2014 at 12:27 PM, Nico Weber <thakis@chromium.org> wrote:
>
>> Apparently Windows doesn't like the subprocess thing:
>>
>>
>>
http://build.chromium.org/p/chromium.fyi/builders/Chromium%20Win%20Ninja%20Go...
>>
>> gclient runhooks
>> Traceback (most recent call last):
>>   File "..\..\..\scripts\slave\runhooks_wrapper.py", line 49, in <module>
>>     sys.exit(main())
>>   File "..\..\..\scripts\slave\runhooks_wrapper.py", line 45, in main
>>     return chromium_utils.RunCommand(['gclient', 'runhooks'])
>>   File "C:\b\build\scripts\common\chromium_utils.py", line 868, in
>> RunCommand
>>     bufsize=0, **kwargs)
>>   File "C:\b\depot_tools\python276_bin\lib\subprocess.py", line 709, in
>> __init__
>>     errread, errwrite)
>>   File "C:\b\depot_tools\python276_bin\lib\subprocess.py", line 957, in
>> _execute_child
>>     startupinfo)
>> WindowsError: [Error 2] The system cannot find the file specified
>>
>>
>> Have you seen this before? Do I have to run gclient through python?
>>
>>
>>
>> On Tue, Apr 15, 2014 at 12:04 PM, <commit-bot@chromium.org> wrote:
>>
>>> Change committed as 263959
>>>
>>> https://codereview.chromium.org/228903003/
>>>
>>
>>
>

To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698