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

Conversation

@zanderso
Copy link
Member

@zanderso zanderso commented Aug 30, 2023

See instructions on flutter/engine#45271

enable_deps_cache=true
xattr_digest=user.fuchsia.rbe.digest.sha256
server_address=unix:///tmp/reproxy.sock
log_dir=/tmp

Choose a reason for hiding this comment

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

Nit: can we use a dir based on timestamp?

Copy link
Member Author

Choose a reason for hiding this comment

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

You tell me =) I just copied this from your doc.

Choose a reason for hiding this comment

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

This file here is used for local build, and the dir should not be a problem.
I will make sure recipes to use a timestamp based dir when executed from CI/LED.

Copy link
Member Author

Choose a reason for hiding this comment

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

Can you tell me how you plan to do that?

Choose a reason for hiding this comment

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

One way we can do is have recipes read this cfg file and override the log_file value before starting the bootstrap.

compiler_prefix = "$goma_dir/gomacc "
} else if (use_rbe) {
assert(!use_goma)
compiler_prefix = "$rbe_dir/rewrapper --server_address=unix:///tmp/reproxy.sock --labels=type=compile,compiler=clang,lang=cpp --exec_root=$exec_root --platform=container-image=docker://gcr.io/cloud-marketplace/google/debian11@sha256:69e2789c9f3d28c6a0f13b25062c240ee7772be1f5e6d41bb4680b63eae6b304 "

Choose a reason for hiding this comment

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

Could we inject these values via variables?

Copy link
Member Author

Choose a reason for hiding this comment

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

These are now gn args declared in rbe.gni. I still need to update the linked flutter/engine PR to plumb them in the gn script.

@zanderso zanderso force-pushed the rbe branch 2 times, most recently from 4c42c3d to 824fa5f Compare August 31, 2023 04:58
@zanderso zanderso requested a review from keyonghan August 31, 2023 05:04
Copy link

@keyonghan keyonghan left a comment

Choose a reason for hiding this comment

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

LGTM

enable_deps_cache=true
xattr_digest=user.fuchsia.rbe.digest.sha256
server_address=unix:///tmp/reproxy.sock
log_dir=/tmp

Choose a reason for hiding this comment

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

This file here is used for local build, and the dir should not be a problem.
I will make sure recipes to use a timestamp based dir when executed from CI/LED.

@zanderso zanderso merged commit 6b0243e into flutter:master Aug 31, 2023
@zanderso zanderso deleted the rbe branch August 31, 2023 16:34
zanderso added a commit to flutter/engine that referenced this pull request Aug 31, 2023
zanderso added a commit to flutter/engine that referenced this pull request Aug 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants