Skip to content

[CMake] Add gRPC_USE_SYSTEMD option#34384

Closed
kirpichik wants to merge 1 commit intogrpc:masterfrom
kirpichik:cmake-use-systemd-option
Closed

[CMake] Add gRPC_USE_SYSTEMD option#34384
kirpichik wants to merge 1 commit intogrpc:masterfrom
kirpichik:cmake-use-systemd-option

Conversation

@kirpichik
Copy link
Copy Markdown
Contributor

@kirpichik kirpichik commented Sep 16, 2023

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.

@linux-foundation-easycla
Copy link
Copy Markdown

linux-foundation-easycla bot commented Sep 16, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: kirpichik / name: Kirill (96f5f4b)

@kirpichik
Copy link
Copy Markdown
Contributor Author

Issue: #34304

@yashykt
Copy link
Copy Markdown
Member

yashykt commented Oct 24, 2023

Please sign the CLA

@kirpichik
Copy link
Copy Markdown
Contributor Author

Signed.

@grpc-bot
Copy link
Copy Markdown
Collaborator

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.

@grpc-bot grpc-bot closed this Nov 24, 2023
@kirpichik
Copy link
Copy Markdown
Contributor Author

@yashykt @veblush please take a look

@nxrighthere
Copy link
Copy Markdown

Thank you for the patch. It resolves our issues in the cross-compilation build toolchain.

@AndreyMlashkin
Copy link
Copy Markdown

Was it merged?...

@kirpichik
Copy link
Copy Markdown
Contributor Author

@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.

@veblush
Copy link
Copy Markdown
Contributor

veblush commented Jan 30, 2024

I'd prefer this option looks like; (mostly the same with different names)

  • AUTO - Default, Will try to find libsystemd. If found, systemd support will be enabled.
  • ON - Enable systemd support. It will fail if systemd is not found.
  • OFF - Disable systemd support.

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.
@kirpichik kirpichik force-pushed the cmake-use-systemd-option branch from 24c997d to 96f5f4b Compare February 17, 2024 15:19
@kirpichik
Copy link
Copy Markdown
Contributor Author

@veblush updated according to your preferences.

Copy link
Copy Markdown
Contributor

@veblush veblush left a comment

Choose a reason for hiding this comment

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

Thanks for the change!

@veblush veblush added the release notes: no Indicates if PR should not be in release notes label Mar 6, 2024
@veblush veblush added area/build release notes: yes Indicates if PR needs to be in release notes and removed release notes: no Indicates if PR should not be in release notes labels Mar 6, 2024
@kirpichik
Copy link
Copy Markdown
Contributor Author

@veblush @yashykt Thanks for the review! When can we expect to merge this PR? It seems someone from your team should press the button...

@yashykt
Copy link
Copy Markdown
Member

yashykt commented Apr 2, 2024

yeah, sorry for the delay. Not sure what happened here. Let me see why this got stuck.

@copybara-service copybara-service bot closed this in 5c3400e Apr 2, 2024
copybara-service bot pushed a commit that referenced this pull request Apr 2, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants