Do not use MB for Clang Upload bots.
Also, pass LLVM_FORCE_LOCAL_BUILD in the env. This is the reason
to stay away from MB for now, as it does not pass env vars to update.py.
BUG=578306, 582737
Sorry for the slow reply. lgtm (Though I don't know exactly what MB is; could ...
4 years, 9 months ago
(2016-03-07 18:30:40 UTC)
#3
Sorry for the slow reply.
lgtm
(Though I don't know exactly what MB is; could this be spelled out in the
commit, or is it a well known thing?)
krasin1
On 2016/03/07 18:30:40, hans wrote: > Sorry for the slow reply. > > lgtm > ...
4 years, 9 months ago
(2016-03-07 18:32:33 UTC)
#4
On 2016/03/07 18:30:40, hans wrote:
> Sorry for the slow reply.
>
> lgtm
>
> (Though I don't know exactly what MB is; could this be spelled out in the
> commit, or is it a well known thing?)
it's src/tools/mb:
https://chromium.googlesource.com/chromium/src/+/master/tools/mb/docs/user_gu...
"mb is a simple python wrapper around the GYP and GN meta-build tools to be used
as part of the GYP->GN migration."
krasin1
The CQ bit was checked by krasin@chromium.org
4 years, 9 months ago
(2016-03-07 18:32:52 UTC)
#5
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1766073002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1766073002/1
4 years, 9 months ago
(2016-03-07 18:33:04 UTC)
#6
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 9 months ago
(2016-03-07 18:33:07 UTC)
#8
No L-G-T-M from a valid reviewer yet.
CQ run can only be started by full committers or once the patch has
received an L-G-T-M from a full committer.
Even if an L-G-T-M may have been provided, it was from a non-committer,
_not_ a full super star committer.
Committers are members of the group "project-infra-committers".
Note that this has nothing to do with OWNERS files.
krasin1
Nico, can you please approve as well?
4 years, 9 months ago
(2016-03-07 18:35:37 UTC)
#9
Nico,
can you please approve as well?
Nico
If you still want to do this after my comment on the other cl, then ...
4 years, 9 months ago
(2016-03-08 21:19:16 UTC)
#10
If you still want to do this after my comment on the other cl, then lgtm
krasin1
The CQ bit was checked by krasin@chromium.org
4 years, 9 months ago
(2016-03-09 00:40:01 UTC)
#11
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1766073002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1766073002/1
4 years, 9 months ago
(2016-03-09 00:40:06 UTC)
#12
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
4 years, 9 months ago
(2016-03-09 00:40:08 UTC)
#14
No L-G-T-M from a valid reviewer yet.
CQ run can only be started by full committers or once the patch has
received an L-G-T-M from a full committer.
Even if an L-G-T-M may have been provided, it was from a non-committer,
_not_ a full super star committer.
Committers are members of the group "project-infra-committers".
Note that this has nothing to do with OWNERS files.
I'm confused. I thought we were going to move to a flag in GN; why ...
4 years, 9 months ago
(2016-03-09 01:37:43 UTC)
#18
I'm confused. I thought we were going to move to a flag in GN; why are we adding
more code that depends on environment variables instead?
krasin1
On 2016/03/09 01:37:43, Dirk Pranke wrote: > I'm confused. I thought we were going to ...
4 years, 9 months ago
(2016-03-09 01:39:51 UTC)
#19
On 2016/03/09 01:37:43, Dirk Pranke wrote:
> I'm confused. I thought we were going to move to a flag in GN; why are we
adding
> more code that depends on environment variables instead?
I am now even more confused! :)
What do you mean by "going to move to a flag in GN"? Can you please give me a
link to a discussion or just explain the proposal inline?
Dirk Pranke
On 2016/03/09 01:39:51, krasin1 wrote: > On 2016/03/09 01:37:43, Dirk Pranke wrote: > > I'm ...
4 years, 9 months ago
(2016-03-09 02:04:29 UTC)
#20
On 2016/03/09 01:39:51, krasin1 wrote:
> On 2016/03/09 01:37:43, Dirk Pranke wrote:
> > I'm confused. I thought we were going to move to a flag in GN; why are we
> adding
> > more code that depends on environment variables instead?
>
> I am now even more confused! :)
> What do you mean by "going to move to a flag in GN"? Can you please give me a
> link to a discussion or just explain the proposal inline?
https://bugs.chromium.org/p/chromium/issues/detail?id=582737#c9
krasin1
On 2016/03/09 02:04:29, Dirk Pranke wrote: > On 2016/03/09 01:39:51, krasin1 wrote: > > On ...
4 years, 9 months ago
(2016-03-09 02:19:17 UTC)
#21
On 2016/03/09 02:04:29, Dirk Pranke wrote:
> On 2016/03/09 01:39:51, krasin1 wrote:
> > On 2016/03/09 01:37:43, Dirk Pranke wrote:
> > > I'm confused. I thought we were going to move to a flag in GN; why are we
> > adding
> > > more code that depends on environment variables instead?
> >
> > I am now even more confused! :)
> > What do you mean by "going to move to a flag in GN"? Can you please give me
a
> > link to a discussion or just explain the proposal inline?
>
> https://bugs.chromium.org/p/chromium/issues/detail?id=582737#c9
Ah!
Well, that's a different (but similar) issue. In this case, we could eventually
not even need a flag or an env var, if we can get an upload bot not to run
gclient sync (and only run git pull). See https://crbug.com/593155
Let me know if you feel strongly. In this case, I would like to hear more
specific suggestions. For instance, a flag to gn won't work, as gclient sync
runs update.py directly, it's a part of DEPS:
https://code.google.com/p/chromium/codesearch#chromium/src/DEPS&q=DEPS&sq=pac...
Dirk Pranke
On 2016/03/09 02:19:17, krasin1 wrote: > On 2016/03/09 02:04:29, Dirk Pranke wrote: > > On ...
4 years, 9 months ago
(2016-03-09 02:40:59 UTC)
#22
On 2016/03/09 02:19:17, krasin1 wrote:
> On 2016/03/09 02:04:29, Dirk Pranke wrote:
> > On 2016/03/09 01:39:51, krasin1 wrote:
> > > On 2016/03/09 01:37:43, Dirk Pranke wrote:
> > > > I'm confused. I thought we were going to move to a flag in GN; why are
we
> > > adding
> > > > more code that depends on environment variables instead?
> > >
> > > I am now even more confused! :)
> > > What do you mean by "going to move to a flag in GN"? Can you please give
me
> a
> > > link to a discussion or just explain the proposal inline?
> >
> > https://bugs.chromium.org/p/chromium/issues/detail?id=582737#c9
>
> Ah!
> Well, that's a different (but similar) issue. In this case, we could
eventually
> not even need a flag or an env var, if we can get an upload bot not to run
> gclient sync (and only run git pull). See https://crbug.com/593155
Got it, this is the upload bot, not the ToT bot.
That said, now I'm confused by the rest of this CL :).
You're removing the 'clang_tot' config; doesn't that mean that you'll pull the
DEPS'ed
in version of clang, rather than HEAD?
Also, you say you don't want to run mb, but you're still calling
api.chromium.run_mb()
on line 72 of the recipe. That seems wrong?
If you don't want a full / normal chromium checkout, it is theoretically
possible to
just clone the git repo rather than running bot_update but that's more work.
If you just want to skip the default set of hooks and only run a couple like the
update script directly, you can just not call api.chromium.runhooks() on line 70
instead.
krasin1
On 2016/03/09 02:40:59, Dirk Pranke wrote: > On 2016/03/09 02:19:17, krasin1 wrote: > > On ...
4 years, 9 months ago
(2016-03-09 03:12:07 UTC)
#23
On 2016/03/09 02:40:59, Dirk Pranke wrote:
> On 2016/03/09 02:19:17, krasin1 wrote:
> > On 2016/03/09 02:04:29, Dirk Pranke wrote:
> > > On 2016/03/09 01:39:51, krasin1 wrote:
> > > > On 2016/03/09 01:37:43, Dirk Pranke wrote:
> > > > > I'm confused. I thought we were going to move to a flag in GN; why are
> we
> > > > adding
> > > > > more code that depends on environment variables instead?
> > > >
> > > > I am now even more confused! :)
> > > > What do you mean by "going to move to a flag in GN"? Can you please give
> me
> > a
> > > > link to a discussion or just explain the proposal inline?
> > >
> > > https://bugs.chromium.org/p/chromium/issues/detail?id=582737#c9
> >
> > Ah!
> > Well, that's a different (but similar) issue. In this case, we could
> eventually
> > not even need a flag or an env var, if we can get an upload bot not to run
> > gclient sync (and only run git pull). See https://crbug.com/593155
>
> Got it, this is the upload bot, not the ToT bot.
>
> That said, now I'm confused by the rest of this CL :).
>
> You're removing the 'clang_tot' config; doesn't that mean that you'll pull the
> DEPS'ed
> in version of clang, rather than HEAD?
I believe that the script does not remove 'clang_tot' config. Does it?
>
> Also, you say you don't want to run mb, but you're still calling
> api.chromium.run_mb()
> on line 72 of the recipe. That seems wrong?
Yes, this is very wrong. Thank you for the catch!
>
> If you don't want a full / normal chromium checkout, it is theoretically
> possible to
> just clone the git repo rather than running bot_update but that's more work.
>
> If you just want to skip the default set of hooks and only run a couple like
the
> update script directly, you can just not call api.chromium.runhooks() on line
70
> instead.
Thank you for the suggestion. It now seems obvious. Please take a look:
https://codereview.chromium.org/1776893002/
Dirk Pranke
On 2016/03/09 03:12:07, krasin1 wrote: > On 2016/03/09 02:40:59, Dirk Pranke wrote: > > You're ...
4 years, 9 months ago
(2016-03-09 03:24:19 UTC)
#24
On 2016/03/09 03:12:07, krasin1 wrote:
> On 2016/03/09 02:40:59, Dirk Pranke wrote:
> > You're removing the 'clang_tot' config; doesn't that mean that you'll pull
the
> > DEPS'ed
> > in version of clang, rather than HEAD?
> I believe that the script does not remove 'clang_tot' config. Does it?
Sorry, I misremembered what the code was doing and wrote the wrong thing.
What I meant was, don't you want to *add* the 'clang_tot' config, so that you
actually
get ToT clang? And, if so, doesn't the 'clang_upload' config become redundant?
I'm assuming that this CL is now moot, and we should switch over to the other
one, so I'll re-post there as well.
krasin1
On 2016/03/09 03:24:19, Dirk Pranke wrote: > On 2016/03/09 03:12:07, krasin1 wrote: > > On ...
4 years, 9 months ago
(2016-03-09 03:26:32 UTC)
#25
On 2016/03/09 03:24:19, Dirk Pranke wrote:
> On 2016/03/09 03:12:07, krasin1 wrote:
> > On 2016/03/09 02:40:59, Dirk Pranke wrote:
> > > You're removing the 'clang_tot' config; doesn't that mean that you'll pull
> the
> > > DEPS'ed
> > > in version of clang, rather than HEAD?
> > I believe that the script does not remove 'clang_tot' config. Does it?
>
> Sorry, I misremembered what the code was doing and wrote the wrong thing.
>
> What I meant was, don't you want to *add* the 'clang_tot' config, so that you
> actually
> get ToT clang? And, if so, doesn't the 'clang_upload' config become redundant?
>
> I'm assuming that this CL is now moot, and we should switch over to the other
> one, so I'll re-post there as well.
Yes, this CL is now just for a reference only. I will kill it, if the other one
gets approved and works.
Issue 1766073002: Do not use MB for Clang Upload bots.
(Closed)
Created 4 years, 9 months ago by krasin
Modified 4 years, 9 months ago
Reviewers: hans, Nico, dpranke, krasin1, Dirk Pranke
Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Comments: 0