Skip to content

Conversation

@JosiahWI
Copy link
Contributor

@JosiahWI JosiahWI commented Jun 21, 2023

This adds an option that defaults to OFF: ENABLE_QUICHE. When quiche is enabled, the quic static library and the http3 static library will be built and linked appropriately. The traffic_quic executable will also be built.

It also does some cleanup of targets in the CMake build. Some targets are now namespaced in ts:: to make it explicit which targets are part of trafficserver, and to make usage style consistent with that of third-party libraries. Some dependencies have also been corrected, and comments added where dependencies are misrepresented by necessity.

I opened this PR after consulting with @bryancall. It is an alternative to #9833, and part of it is taken from that PR (albeit heavily modified).

@JosiahWI JosiahWI force-pushed the feat/cmake-quiche branch 8 times, most recently from 23a2ada to 056323c Compare June 21, 2023 13:10
This adds an option that defaults to OFF: ENABLE_QUICHE. When quiche
is enabled, the quic static library and the http3 static library
will be built and linked appropriately. The traffic_quic executable
will also be built.

It also does some cleanup of targets in the CMake build. Some
targets are now namespaced in ts:: to make it explicit which targets
are part of trafficserver, and to make usage style consistent with
that of third-party libraries. Some dependencies have also been
corrected, and comments added where dependencies are misrepresented
by necessity.
@JosiahWI JosiahWI force-pushed the feat/cmake-quiche branch from 056323c to 904bcec Compare June 21, 2023 13:12
@JosiahWI JosiahWI self-assigned this Jun 21, 2023
@JosiahWI JosiahWI added Build work related to build configuration or environment QUIC CMake work related to CMakes scripts or issues labels Jun 21, 2023
@JosiahWI JosiahWI marked this pull request as ready for review June 21, 2023 14:36
Copy link
Member

@maskit maskit left a comment

Choose a reason for hiding this comment

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

Looks good to me but I'll leave this for CMake users.

@JosiahWI
Copy link
Contributor Author

Test "TSVConnFD" failed with code -9.

@bneradt
Copy link
Contributor

bneradt commented Jun 21, 2023

[approve ci rocky]

@bneradt bneradt merged commit f8915e0 into apache:master Jun 21, 2023
@JosiahWI JosiahWI deleted the feat/cmake-quiche branch June 22, 2023 16:18
@zwoop zwoop added this to the 10.0.0 milestone Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build work related to build configuration or environment CMake work related to CMakes scripts or issues QUIC

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants