[CMake] Add gRPC_USE_SYSTEMD option#34384
Conversation
|
|
|
Issue: #34304 |
|
Please sign the CLA |
|
Signed. |
|
More than 30 days have passed since label "disposition/requires reporter action" was added. Closing this issue. Please feel free to re-open/create a new issue if this is still relevant. |
|
Thank you for the patch. It resolves our issues in the cross-compilation build toolchain. |
|
Was it merged?... |
|
@AndreyMlashkin No, the bot closed this PR due to the inactivity of reviewers and I do not have the rights to reopen it. Not sure how else I can ping maintainers. |
|
I'd prefer this option looks like; (mostly the same with different names)
|
Allows to disable systemd support, as well as linking with libsystemd, when it is not required. The option has three possible values: AUTO - Default, Will try to find libsystemd. If found, systemd support will be enabled. ON - Enable systemd support. Build will fail if libsystemd is not found. OFF - Disable systemd support.
24c997d to
96f5f4b
Compare
|
@veblush updated according to your preferences. |
|
yeah, sorry for the delay. Not sure what happened here. Let me see why this got stuck. |
This gives grpc_endpoint the same destruction-is-shutdown semantic as EventEngine::Endpoint, which will make the migration easier. COPYBARA_INTEGRATE_REVIEW=#34384 from kirpichik:cmake-use-systemd-option 96f5f4b FUTURE_COPYBARA_INTEGRATE_REVIEW=#34384 from kirpichik:cmake-use-systemd-option 96f5f4b ---- DO NOT SUBMIT. This PR is for testing purposes only. [cl/620101818](http://cl/620101818) [cl/621274356](http://cl/621274356) PiperOrigin-RevId: 620101818
Issue #34304
Allows to disable systemd support,
as well as linking with libsystemd,
when it is not required.
The option has three possible values:
AUTO - Default, Will try to find libsystemd. If found, systemd support will be enabled.
ON - Enable systemd support. Build will fail if libsystemd is not found.
OFF - Disable systemd support.