Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions ci/do_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,7 @@ elif [[ "$1" == "bazel.dev" ]]; then
elif [[ "$1" == "bazel.compile_time_options" ]]; then
# Right now, none of the available compile-time options conflict with each other. If this
# changes, this build type may need to be broken up.
# TODO(mpwarres): remove quiche=enabled once QUICHE is built by default.
COMPILE_TIME_OPTIONS="\
--config libc++ \
--define signal_trace=disabled \
Expand All @@ -186,6 +187,7 @@ elif [[ "$1" == "bazel.compile_time_options" ]]; then
--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

"
setup_clang_toolchain
# This doesn't go into CI but is available for developer convenience.
Expand Down