Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Conversation

@iskakaushik
Copy link
Contributor

Useful when following Chromium's External Access Goma Guide.

@google-cla google-cla bot added the cla: yes label Nov 16, 2020
@iskakaushik iskakaushik changed the title [goma] Use depot_tools vended goma when it's present [goma] Use depot_tools vended goma when it is present Nov 16, 2020
@zanderso
Copy link
Member

This lgtm. My understanding is that there are (or will soon be) additional steps needed to make goma work for local builds. @godofredoc Should we be making those changes now?

elif args.goma and os.path.exists(goma_home_dir):
gn_args['use_goma'] = True
gn_args['goma_dir'] = goma_home_dir
elif args.goma and os.path.exists(depot_tools_bin_dir):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would have to go above the args.goma case wouldn't it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is correct. Theres 3 cases:

  • Priority 1: args.goma and goma_dir is present.
  • Priority 2: args.goma and goma_home_dir is present.
  • Priority 3: args.goma and (none of the other two are present + depot_tools dir is present.)

@godofredoc
Copy link
Contributor

This lgtm. My understanding is that there are (or will soon be) additional steps needed to make goma work for local builds. @godofredoc Should we be making those changes now?

Yes, the borg goma will be turned off by the end of the month and everyone in flutter will need to use fuchsia's gome rbe.

@godofredoc
Copy link
Contributor

This lgtm. My understanding is that there are (or will soon be) additional steps needed to make goma work for local builds. @godofredoc Should we be making those changes now?

Yes, the borg goma will be turned off by the end of the month and everyone in flutter will need to use fuchsia's gome rbe.

Setting up fuchsia rbe requires to download different binaries depot tools binaries won't work after the end of this month.

@zanderso
Copy link
Member

I filed flutter/flutter#70663. @godofredoc Could you add some details there about what we should do, like how to get the right binaries?

@iskakaushik
Copy link
Contributor Author

@godofredoc , @zanderso given that this will simplify local workflows until goma on borg gets banned, mind if we land this?

@iskakaushik iskakaushik added the waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land. label Nov 17, 2020
Copy link
Member

@cbracken cbracken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm for the temporary landing until we've moved to the fuchsia pool.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes waiting for tree to go green This PR is approved and tested, but waiting for the tree to be green to land.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants