Skip to content

ci: add QUIC to bazel.compile_time_options.#5926

Merged
lizan merged 2 commits intoenvoyproxy:masterfrom
PiotrSikora:ci_quic
Feb 13, 2019
Merged

ci: add QUIC to bazel.compile_time_options.#5926
lizan merged 2 commits intoenvoyproxy:masterfrom
PiotrSikora:ci_quic

Conversation

@PiotrSikora
Copy link
Contributor

Signed-off-by: Piotr Sikora piotrsikora@google.com

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
--define boringssl=fips \
--define log_debug_assert_in_release=enabled \
--define tcmalloc=debug \
--define quiche=enabled \
Copy link
Member

Choose a reason for hiding this comment

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

What does this define do? Doesn't this just get enabled automatically when the QUIC listener extension is compiled?

Copy link
Contributor

Choose a reason for hiding this comment

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

Currently this controls whether QUIC listener-related tests are built and run. The short history is that QUICHE platform code requires a Bazel bugfix flag (--experimental_remap_main_repo) to be set in order to successfully link with Envoy libraries, so @htuch suggested that we avoid building QUICHE by default (at least, until the flag becomes default behavior), to avoid poor developer experience. Since then, the Bazel flag has been enabled in the default .bazelrc (#5767), so it should be ok to enable compilation/testing of QUICHE here, though we probably still do not want to set quiche=enabled for developer local builds.

Tagging @wu-bin and @danzh2010 , just as a heads up.

Copy link
Member

Choose a reason for hiding this comment

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

OK makes sense. Can we add a TODO comment here that we eventually want to remove this from compile_time_options and have this be part of the standard build?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

TODO added (for you, @mpwarres, hope that's OK).

Copy link
Contributor

Choose a reason for hiding this comment

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

TODO added (for you, @mpwarres, hope that's OK).

Yup, SGTM

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
--define boringssl=fips \
--define log_debug_assert_in_release=enabled \
--define tcmalloc=debug \
--define quiche=enabled \
Copy link
Contributor

Choose a reason for hiding this comment

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

TODO added (for you, @mpwarres, hope that's OK).

Yup, SGTM

@lizan lizan merged commit 76a4832 into envoyproxy:master Feb 13, 2019
fredlas pushed a commit to fredlas/envoy that referenced this pull request Mar 5, 2019
* ci: add QUIC to bazel.compile_time_options.

Signed-off-by: Piotr Sikora <piotrsikora@google.com>
Signed-off-by: Fred Douglas <fredlas@google.com>
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.

4 participants