Skip to content

For QUICHE integration, add --experimental_remap_main_repo to bazelrc.#5759

Closed
wu-bin wants to merge 5 commits intoenvoyproxy:masterfrom
wu-bin:bazelrc
Closed

For QUICHE integration, add --experimental_remap_main_repo to bazelrc.#5759
wu-bin wants to merge 5 commits intoenvoyproxy:masterfrom
wu-bin:bazelrc

Conversation

@wu-bin
Copy link
Copy Markdown
Contributor

@wu-bin wu-bin commented Jan 29, 2019

Description:

To allow source/extensions/quic_listeners/quiche/platform:quic_platform_impl_lib to depend on envoy build rules, add --experimental_remap_main_repo to bazelrc.

See #5548 for context.

Risk Level: minimal: build only
Testing: Tested build with PR #5758
Docs Changes: none
Release Notes: none
[Optional Fixes #Issue]
[Optional Deprecated:]

@wu-bin
Copy link
Copy Markdown
Contributor Author

wu-bin commented Jan 29, 2019

@mpwarres @htuch

@mpwarres
Copy link
Copy Markdown
Contributor

Associated with #2557

For context, this flag is temporarily necessary in order for the Envoy QUICHE platform implementation to be able to depend on Envoy libraries, without incurring link-time errors. More explanation in this comment. Bazel team's plan for graduating the flag-protected behavior is described here.

Note that the Bazel fix is only available in the most recent Bazel release, 0.22.0, which was released yesterday. @htuch , are there timing considerations around when a PR can assume the most recent version of Bazel?

mpwarres
mpwarres previously approved these changes Jan 29, 2019
Copy link
Copy Markdown
Contributor

@mpwarres mpwarres left a comment

Choose a reason for hiding this comment

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

LGTM, just one (optional) comment

Comment thread .bazelrc Outdated

# Test options
test --test_env=HEAPCHECK=normal --test_env=PPROF_PATH
test --test_env=HEAPCHECK=normal --test_env=PPROF_PATH --experimental_remap_main_repo
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

nit: since 'test' options inherit from 'build' options (at least according to .bazelrc doc), can you leave out specifying the flag here?

Copy link
Copy Markdown
Contributor Author

@wu-bin wu-bin left a comment

Choose a reason for hiding this comment

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

Removed --experimental_remap_main_repo from the test command.

@wu-bin
Copy link
Copy Markdown
Contributor Author

wu-bin commented Jan 30, 2019

I have messed up this PR by doing commit, without DCO, from the github web ui. I'll close this and create a new PR for this.

@wu-bin wu-bin closed this Jan 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants